Showing posts with label Cracking Password. Show all posts
Showing posts with label Cracking Password. Show all posts

Wednesday, February 16, 2011

Hacking Tutorial Dengan Menggunakan Mozilla Firefox


Dengan javascript ini browser kita akan otomatis nge-save semua username & password tanpa ada konfirmasi "Save Password"
Intinya adalah menghilangkan notifikasi pop-up simpan pesan pada firefox / flock

Langsung ke kita coba:

1. Lihat Versi Firefox , bisa berjalan di versi 3.6

2. Pastikan komputer kita gak ada deepfreeze

3. Msuk k Local disk C: , plih Program Files => Mozilla Firefox => Components..

Cari file yang bernama
"Ns Login Manager Prompter.js"
Buka Dengan notepad kemudian tambahkan kode berikut :
_showSaveLoginNotification :
function (aNotifyBox, aLogin) {
var pwmgr = this._pwmgr;
pwmgr.addLogin(aLogin);
},
Ingat kode tersebut ditambahkan diantara script dibawah ini
gunakan fitur find pada notepad untuk mempercepat pencarian.

Hasilnya seperti ini :
/*
* _showSaveLoginNotification
*
* Displays a notification bar
(rather than a popup), to allow
the user to
* save the specified login. This
allows the user to see the
results of
* their login, and only save a
login which they know worked.
*
*/


_showSaveLoginNotification :
function (aNotifyBox, aLogin) {
var pwmgr = this._pwmgr;
pwmgr.addLogin(aLogin);
},

/*
* _removeLoginNotifications
*
*/
4. Kemudian Save,
5. Jalankan firefox dan coba masuk ke situs yang ada form login , masukkan username & password .
Setelah anda klik login / sig in tidak akan muncul popup Remember Password.

Kemudian klik toolbar View => options => Security => Saved Password
pasti ada keterangan situs dan usernamenya , untuk memunculkan klik "Show Password"
(ada notify box, klik Yes )

Alhasil nama situs beserta username dan password akan terlihat ,
Nah , bayangkan seandainya banyak orang yang gunain komputer / laptop anda , anda akan banyak menemukan username & password dari teman-teman anda.
hehehe
sekian, mohon jangan disalahgunakan ...

Tuesday, February 8, 2011

Tips and Trick Membuat Program Enkripsi Sederhana With VB 6


Ok Kembali Lagi Bersama saya, sekarang saya akan membagi sedikit ilmu mengenai VB [ Visual Basic ]
kali ini kita akan membahas mengenai pembuatan Eknripsi sederhana menggunakan Visual Basic 6.
Langsung saja pertama-tama Yang harus kita Siapkan adalah :

1. Buat form seperti dibawah ini :



2. isi propertiesnya Seperti dibawah ini :



3. isi scpript dibawah nie :
Sub Rot13()
For I = 1 To Len(txtTeks)
Baca = Asc(Mid(txtTeks, I, 1))
'Secara matematis C = ROT13(M)
Tukar = Chr(Baca + 13)
txtHasil = txtHasil & Tukar
Next
End Sub
Sub DeRot13()
For I = 1 To Len(txtTeks)
Baca = Asc(Mid(txtTeks, I, 1))
'Ekuivalen dengan M = ROT13(ROT13(M))
Tukar = Chr(Baca - 13)
txtHasil = txtHasil & Tukar
Next
End Sub
Private Sub cmdDekrip_Click()
txtHasil = ""
DeRot13
End Sub
Private Sub cmdEnkrip_Click()
txtHasil = ""
Rot13
End Sub

4. Coba jalankan programnya :




Untuk Penjelasannya dibawah ini :

Penjelasan Script :

Sub Rot13()
For I = 1 To Len(txtTeks)
Baca = Asc(Mid(txtTeks, I, 1))
'Secara matematis C = ROT13(M)
Tukar = Chr(Baca + 13)
txtHasil = txtHasil & Tukar
Next
End Sub

Baris enkripsi dari ROT13.
Ubah setiap karakter menjadi karakter + 13,
huruf “a” digantikan dengan huruf “n”, huruf “b” digantikan dengan huruf “o”, dst.

Sub DeRot13()
For I = 1 To Len(txtTeks)
Baca = Asc(Mid(txtTeks, I, 1))
'Ekuivalen dengan M = ROT13(ROT13(M))
Tukar = Chr(Baca - 13)
txtHasil = txtHasil & Tukar
Next
End Sub

Merupakan baris kode dekripsi yang merupakan kebalikan dari enkripsi.
Dalam rumus kita dapatkan M = ROT13(ROT13(M)).
Saya bingung bagaimana menerjemahkannya ke source visual basic.
Daripada susah-susah balik saja operatornya yang tadinya.
Tukar = Chr(Baca + 13) menjadi Tukar = Chr(Baca - 13)
Terlihat memang, operator ( + ) diganti menjadi ( - ).
He... he.. yang pentingkan ekuivalen dengan M = ROT13(ROT13(M)) dan tidak perlu
ROT13 dua kali segala, untuk dekripsinya. Efisiensi coy! Efisiensi!

Private Sub cmdDekrip_Click()
txtHasil = ""
DeRot13
End Sub

Kalau button Dekripsi ditekan maka:
Kosongkan properti text pada textbox txtHasil.
jalankan sub program DeRot13().

Private Sub cmdEnkrip_Click()
txtHasil = ""
Rot13
End Sub

Kalau button Enkripsi ditekan maka:
Kosongkan properti text pada textbox txtHasil.
jalankan sub program Rot13().

Sekian Dulu Penjelasan dari saya , Semoga ini bisa Bermanfaat Buat Kalian :D

Tuesday, January 25, 2011

Compile John The Ripper 1.7.6 With Many Type HASH


Ok Silahkan Kalian Ikuti Petunjuk Dibawah ini :
putin@x6292:/$ cd /tmp
putin@x6292:/tmp$ wget http://www.openwall.com/john/g/john-1.7.6.tar.gz
--2011-01-25 05:35:41-- http://www.openwall.com/john/g/john-1.7.6.tar.gz
Resolving http://www.openwall.com... 195.42.179.202
Connecting to http://www.openwall.com|195.42.179.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 832790 (813K) [application/x-tar]
Saving to: `john-1.7.6.tar.gz'

100%[==============================================================================>] 832,790 718K/s in 1.1s 

2011-01-25 05:35:43 (718 KB/s) - `john-1.7.6.tar.gz' saved [832790/832790]

putin@x6292:/tmp$ tar xvzf john-1.7.6.tar.gz
john-1.7.6/
john-1.7.6/doc/
john-1.7.6/doc/EXAMPLES
john-1.7.6/doc/CHANGES
john-1.7.6/doc/CONFIG
[...]
john-1.7.6/src/DES_vec.pl
john-1.7.6/README
putin@x6292:/tmp$ wget http://www.openwall.com/john/contrib/john-1.7.6-jumbo-9.diff.gz
--2011-01-25 05:36:47-- http://www.openwall.com/john/contrib/john-1.7.6-jumbo-9.diff.gz
Resolving http://www.openwall.com... 195.42.179.202
Connecting to http://www.openwall.com|195.42.179.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 218658 (214K) [text/plain]
Saving to: `john-1.7.6-jumbo-9.diff.gz'

100%[==============================================================================>] 218,658 429K/s in 0.5s 

2011-01-25 05:36:48 (429 KB/s) - `john-1.7.6-jumbo-9.diff.gz' saved [218658/218658]

putin@x6292:/tmp$ cd john-1.7.6
putin@x6292:/tmp/john-1.7.6$ gzip -dc ../john-1.7.6-jumbo-9.diff.gz | patch -p1
patching file doc/EPi.patch.README
patching file doc/HDAA_README
patching file doc/MARKOV
patching file doc/MD5_GENERIC
[...]
patching file src/x86-sse.S
patching file src/x86-sse.h
putin@x6292:/tmp/john-1.7.6$ cd src
putin@x6292:/tmp/john-1.7.6/src$ make
To build John the Ripper, type:
make clean SYSTEM
where SYSTEM can be one of the following:
linux-x86-64 Linux, x86-64 with SSE2 (best)
linux-x86-sse2 Linux, x86 with SSE2 (best if 32-bit)
linux-x86-mmx Linux, x86 with MMX
linux-x86-any Linux, x86
linux-alpha Linux, Alpha
linux-sparc Linux, SPARC 32-bit
linux-ppc32-altivec Linux, PowerPC w/AltiVec (best)
linux-ppc32 Linux, PowerPC 32-bit
linux-ppc64 Linux, PowerPC 64-bit
linux-ia64 Linux, IA-64
freebsd-x86-64 FreeBSD, x86-64 with SSE2 (best)
freebsd-x86-sse2 FreeBSD, x86 with SSE2 (best if 32-bit)
freebsd-x86-mmx FreeBSD, x86 with MMX
freebsd-x86-any FreeBSD, x86
freebsd-alpha FreeBSD, Alpha
openbsd-x86-64 OpenBSD, x86-64 with SSE2 (best)
openbsd-x86-sse2 OpenBSD, x86 with SSE2 (best if 32-bit)
openbsd-x86-mmx OpenBSD, x86 with MMX
openbsd-x86-any OpenBSD, x86
openbsd-alpha OpenBSD, Alpha
openbsd-sparc64 OpenBSD, SPARC 64-bit (best)
openbsd-sparc OpenBSD, SPARC 32-bit
openbsd-ppc32 OpenBSD, PowerPC 32-bit
openbsd-ppc64 OpenBSD, PowerPC 64-bit
openbsd-pa-risc OpenBSD, PA-RISC
openbsd-vax OpenBSD, VAX
netbsd-sparc64 NetBSD, SPARC 64-bit
netbsd-vax NetBSD, VAX
solaris-sparc64-cc Solaris, SPARC V9 64-bit, cc (best)
solaris-sparc64-gcc Solaris, SPARC V9 64-bit, gcc
solaris-sparcv9-cc Solaris, SPARC V9 32-bit, cc
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc
solaris-x86-64-cc Solaris, x86-64 with SSE2, cc (best)
solaris-x86-64-gcc Solaris, x86-64 with SSE2, gcc
solaris-x86-sse2-cc Solaris 9 4/04+, x86 with SSE2, cc
solaris-x86-sse2-gcc Solaris 9 4/04+, x86 with SSE2, gcc
solaris-x86-mmx-cc Solaris, x86 with MMX, cc
solaris-x86-mmx-gcc Solaris, x86 with MMX, gcc
solaris-x86-any-cc Solaris, x86, cc
solaris-x86-any-gcc Solaris, x86, gcc
sco-x86-any-gcc SCO, x86, gcc
sco-x86-any-cc SCO, x86, cc
tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha
aix-ppc32 AIX, PowerPC 32-bit
macosx-x86-64 Mac OS X 10.5+, Xcode 3.0+, x86-64 with SSE2 (best)
macosx-x86-sse2 Mac OS X, x86 with SSE2
macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best)
macosx-ppc32 Mac OS X, PowerPC 32-bit
macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit
macosx-universal Mac OS X, Universal Binary (x86 + x86-64 + PPC)
hpux-pa-risc-gcc HP-UX, PA-RISC, gcc
hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc
irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best)
irix-mips64 IRIX, MIPS 64-bit
irix-mips32 IRIX, MIPS 32-bit
dos-djgpp-x86-mmx DOS, DJGPP, x86 with MMX
dos-djgpp-x86-any DOS, DJGPP, x86
win32-cygwin-x86-sse2 Win32, Cygwin, x86 with SSE2 (best)
win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX
win32-cygwin-x86-any Win32, Cygwin, x86
win32-mingw-x86-sse2 Win32, MinGW, x86 with SSE2 (best)
win32-mingw-x86-mmx Win32, MinGW, x86 with MMX
win32-mingw-x86-any Win32, MinGW, x86
beos-x86-sse2 BeOS, x86 with SSE2 (best)
beos-x86-mmx BeOS, x86 with MMX
beos-x86-any BeOS, x86
generic Any other Unix-like system with gcc
****KETERANGAN: pilih system kamu disini, misalnya linux kamu biasa 32bit dan pake intel pilih yg ini linux-x86-sse2
****misalnya linux kamu 64 bit pilih yg ini linux-x86-64
****liat aja itu keterangannya disebelah kanannya..
****kalo gak ngerti pilih generic
****ni ane dibawah pake nya yg linux-x86-sse2
putin@x6292:/tmp/john-1.7.6/src$ make clean linux-x86-sse2
rm -f ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop ../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat ../run/tgtsnarf ../run/john.bin ../run/john.com ../run/unshadow.com ../run/unafs.com ../run/unique.com ../run/undrop.com ../run/john.exe ../run/unshadow.exe ../run/unafs.exe ../run/unique.exe ../run/undrop.exe ../run/genmkvpwd.exe ../run/mkvcalcproba.exe ../run/calc_stat.exe ../run/john-mingw.exe ../run/unshadow.exe ../run/unafs.exe ../run/unique.exe ../run/undrop.exe ../run/genmkvpwd.exe ../run/mkvcalcproba.exe ../run/calc_stat.exe
rm -f ../run/john.exe john-macosx-* *.o *.bak core
rm -f detect bench generic.h arch.h tmp.s
cp /dev/null Makefile.dep
ln -sf x86-sse.h arch.h
make ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop ../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat ../run/tgtsnarf \
[...]
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -DHAVE_CRYPT -funroll-loops calc_stat.c
gcc calc_stat.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lm -lcrypt -o ../run/calc_stat
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -DHAVE_CRYPT -funroll-loops tgtsnarf.c
gcc tgtsnarf.o -s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lm -lcrypt -o ../run/tgtsnarf
make[1]: Leaving directory `/tmp/john-1.7.6/src'
putin@x6292:/tmp/john-1.7.6/src$ cd ../run
putin@x6292:/tmp/john-1.7.6/run$ ./john --test
Benchmarking: Traditional DES [128/128 BS SSE2]... DONE
Many salts: 1682K c/s real, 1682K c/s virtual
Only one salt: 1441K c/s real, 1455K c/s virtual
[...]
[...]
[...]

perintah terakhir ./john --test itu dia melakukan benchmark sekaligus ngetes hash² yg disupport
john sudah siap beraksi

kamu bisa pindahain direktori run ke tempat yg kamu suka...
misalnya klo ane, ane pindahin ke /home/putin/john

putin@x6292:/tmp/john-1.7.6/run$ cd /home/putin
putin@x6292:~$ sudo mv /tmp/john-1.7.6/run john
putin@x6292:~$ cd john
putin@x6292:~/john$ ./john --test
Benchmarking: Traditional DES [128/128 BS SSE2]... DONE
Many salts: 1677K c/s real, 1694K c/s virtual
Only one salt: 1416K c/s real, 1416K c/s virtual

Benchmarking: BSDI DES (x725) [128/128 BS SSE2]... DONE
Many salts: 55424 c/s real, 54875 c/s virtual
Only one salt: 54016 c/s real, 54016 c/s virtual

Benchmarking: FreeBSD MD5 [32/32]... DONE
Raw: 5495 c/s real, 5495 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/32]...
[...]
[...]
[...]

Selamat Mencoba yah.....

edit:
ini command nya yg diatas, tapi tanpa output :
cd /tmp
wget http://www.openwall.com/john/g/john-1.7.6.tar.gz
tar xvzf john-1.7.6.tar.gz
wget http://www.openwall.com/john/contrib/john-1.7.6-jumbo-9.diff.gz
cd john-1.7.6
gzip -dc ../john-1.7.6-jumbo-9.diff.gz | patch -p1
cd src
make
make clean generic
cd ../run
./john --test

Monday, January 24, 2011

Tutorial Decryption using John The Ripper


ok kita langsung aja ke pokok pembahasan.
MD5 bersifat one way hash ,(JTR) john the ripper merupakan tools yang mampu untuk mendekrip (lebih tepatnya menebak) beberapa jenis enkripsi yang sering digunakan beberapa diantaranya adalah DES , BSDI ,MD5 ,BF ,AFS ,LM , namun setelah ane coba sepertinya JTR tidak mampu untuk mendekrip enkripsi MD5 , entah mungkin ane yang ga ngerti caranya :D , ane akan memberikan sedikit tutorial untuk mengajari JTR bisa mendekrip MD5.

Disini saya menggunakan operating system linux Ubuntu.

Download JTR versi terbaru
wget ftp://ftp.openwall.com/pub/projects/john/1.7.3.1/john-1.7.3.1.tar.gz

Ekstrak JTR nya

tar -zxvf john-1.7.3.1.tar.gz
    cd john-1.7.3.1

Download dan lakukan patch supaya JTR mensupport enkripsi raw-MD5.

wget ftp://ftp.openwall.com/pub/projects/john/contrib/john-1.7-rawmd5-ipb2-4.diff.gz

gzip -d john-1.7-rawmd5-ipb2-4.diff.gz

patch -p1 < john-1.7-rawmd5-ipb2-4.diff
Lakukan Compile
cd src
    make
    make clean linux-x86-any
Beres deh… Untuk melakukan dekripsi , taruh MD5 dalam sebuah file , misal kucing.txt dengan format seperti berikut :
admin:b65845fca59b323bd285bdcada3454c8
Perintah untuk melakukan dekripsi sebelumnya pastikan sudah berada pada folder run
./john -f:raw-MD5 kucing.txt

OK sekian dulu yah Dari saya nanti kita lanjutkan dengan yang lainnya lagi :D

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Radio Online