Monday, January 30, 2012

CARA INSTALL ARMITAGE DI UBUNTU





novemberain@jh:~$sudo apt-get install armitage

novemberain@jh:~$sudo apt-get install postgresql

novemberain@jh:~$sudo apt-get install libpgsql-ruby

novemberain@jh:~$sudo su postgres

sekarng kita configurasi database nya

postgres@jh:~$createuser novemberain -P

Enter password for new role:

Enter it again:

Shall the new role be a superuser? (y/n) n

Shall the new role be allowed to create databases? (y/n) n

Shall the new role be allowed to create more new roles? (y/n) n

postgres@jh:~$createdb --owner=novemberain metasploit3

postgres@jh:~$exit

nah truus kita masuk ke msfconsole kalau sudah msuk kita configurasi di msf

msf > db_driver postgresql

msf > db_connect novemberain:password@127.0.0.1:5432/metasploit3

msf > db_workspace -a MyProject

nah nie Autopwn

msf > db_nmap 192.168.1.1

msf > db_autopwn -p -e -q

kalau suda selesai kita coba bikin auto start atau pas kita login ke leptop atau komputer n kita masuk ke armitage da ada tinggal pakai hehhe

novemberain@jh:~$ cat > ~/.msf3/msfconsole.rc

truus isikan

db_driver postgresql

db_connect novemberain:[password]@127.0.0.1:5432/metasploit3

db_workspace -a MyProject

save dengan ctrl+s

kalau sudah truus....kita update dulu msf nya

novemberain@jh:~$sudo  msfupdate

kalau sudah buka armitage di terminal

novemberain@jh:~$ cd /pentest/exploits/armitage/

kalau suda masuk tinggal tulis ./armitage.sh  nanati akan keluar armitage nya

truus buka terminal satu lagi novemberain@jh:~$ msfrpcd -f -U msf -P test -t Basic

No comments:

Post a Comment