Skip to content

Commit 3185090

Browse files
committed
WebSploit
websploit is an advanced MITM framework.
1 parent e6500db commit 3185090

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+232681
-0
lines changed

COPYING.GPL

Lines changed: 225 additions & 0 deletions
Large diffs are not rendered by default.

LICENCE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Websploit Framework
2+
3+
Licence For:
4+
------------------
5+
BackBox
6+
BackTrack
7+
BlackBuntu
8+
And All Hacking And Security Distro
9+
------------------

README.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
WebSploit Framework
2+
3+
Project in SourceForge : http://sourceforge.net/projects/websploit
4+
5+
Author : 0x0ptim0us (Fardin Allahverdinazhand)
6+
Email & Report Bug : [email protected]
7+
Blog : http://0x0ptim0us.blogspot.com
8+
9+
If your system doesn't have enough copies of the full text of the GNU
10+
General Public License already, we have provided another one in the
11+
"COPYING.GPL" file.
12+
13+
Supported Attack :
14+
# [+]Autopwn - Used From Metasploit For Scan and Exploit Target Service
15+
# [+]Browser AutoPWN - Exploit Victim Browser
16+
# [+]wmap - Scan,Crawler Target Used From Metasploit wmap plugin
17+
# [+]format infector - inject reverse & bind payload into file format
18+
# [+]MLITM,XSS Phishing - Man Left In The Middle Attack
19+
# [+]MITM - Man In The Middle Attack
20+
# [+]USB Infection Attack - Create Executable Backdoor For Windows
21+
# [+]MFOD Attack - Middle Finger Of Doom Attack
22+
# [+]Java Applet Attack Vector
23+
# [+]ARP DOS - ARP Cache Denial Of Service Attack With Random MAC
24+
# [+]Directory Scanner - Scan Target Directorys
25+
# [+]Apache US - Scan Apache users
26+
# [+]PHPMyAdmin - Scan PHPMyAdmin Login Page
27+
# [+]Web Killer - Using From The TCPKill For Down Your WebSite On Network
28+
# [+]Fake AP - Fake Access Point
29+
# [+]FakeUpdate - Fake update attack
30+
# [+]Wifi Jammer - Wifi Jammer Attack
31+
# [+]Wifi Dos - Wifi Dos RQ Attack
32+
# [+]Wifi Mass De-authentication attack

core/__init__.py

Whitespace-only changes.

core/__init__.pyc

130 Bytes
Binary file not shown.

core/about.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit Toolkit Menu module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
from core import wcolors
8+
def about():
9+
print "\n"
10+
print(wcolors.color.RED + "Created By :" + wcolors.color.ENDC)
11+
print wcolors.color.CYAN + """
12+
Fardin Allahverdinazhand (0x0ptim0us)
13+
Location : Iran - Azarbayjan (Turkish)
14+
Twitter : @0x0ptim0us
15+
Report Bug : [email protected]
16+
""" + wcolors.color.ENDC
17+
print "\n"
18+
print(wcolors.color.RED + "Developer Team Not Available !\n" + wcolors.color.ENDC)
19+
20+
21+

core/about.pyc

660 Bytes
Binary file not shown.

core/header.py

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit Framework Header module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
8+
import random
9+
def main_header():
10+
header_1 = r"""
11+
__ __ _ _ _ _
12+
\ \ / / | | | | (_) |
13+
\ \ /\ / /__| |__ ___ _ __ | | ___ _| |_
14+
\ \/ \/ / _ \ '_ \/ __| '_ \| |/ _ \| | __|
15+
\ /\ / __/ |_) \__ \ |_) | | (_) | | |_
16+
\/ \/ \___|_.__/|___/ .__/|_|\___/|_|\__|
17+
| |
18+
|_| """
19+
20+
header_2 = r"""
21+
__ __ __ ___ __
22+
/\ \ __/\ \ /\ \ /\_ \ __/\ \__
23+
\ \ \/\ \ \ \ __\ \ \____ ____ _____\//\ \ ___ /\_\ \ ,_\
24+
\ \ \ \ \ \ \ /'__`\ \ '__`\ /',__\/\ '__`\\ \ \ / __`\/\ \ \ \/
25+
\ \ \_/ \_\ \/\ __/\ \ \L\ \/\__, `\ \ \L\ \\_\ \_/\ \L\ \ \ \ \ \_
26+
\ `\___x___/\ \____\\ \_,__/\/\____/\ \ ,__//\____\ \____/\ \_\ \__\
27+
'\/__//__/ \/____/ \/___/ \/___/ \ \ \/ \/____/\/___/ \/_/\/__/
28+
\ \_\
29+
\/_/ """
30+
header_3 = r"""
31+
( ( ) ( )
32+
)\))( ' ( ( /( )\ ( ( /(
33+
((_)()\ ) ))\ )\()) ( ` ) ((_) ( )\ )\())
34+
_(())\_)() /((_)((_)\ )\ /(/( _ )\((_)(_))/
35+
\ \((_)/ /(_)) | |(_)((_)((_)_\ | | ((_)(_)| |_
36+
\ \/\/ / / -_) | '_ \(_-<| '_ \)| |/ _ \| || _|
37+
\_/\_/ \___| |_.__//__/| .__/ |_|\___/|_| \__|
38+
|_| """
39+
40+
41+
42+
header_4 = r"""
43+
__ __ ___ ____ _____ ____ _ ___ ____ ______
44+
| |__| | / _]| \ / ___/| \| | / \| || |
45+
| | | | / [_ | o )( \_ | o ) | | || | | |
46+
| | | || _]| | \__ || _/| |___ | O || | |_| |_|
47+
| ` ' || [_ | O | / \ || | | || || | | |
48+
\ / | || | \ || | | || || | | |
49+
\_/\_/ |_____||_____| \___||__| |_____| \___/|____| |__|
50+
"""
51+
52+
header_5 = r"""
53+
db d8b db d88888b d8888b. .d8888. d8888b. db .d88b. d888888b d888888b
54+
88 I8I 88 88' 88 `8D 88' YP 88 `8D 88 .8P Y8. `88' `~~88~~'
55+
88 I8I 88 88ooooo 88oooY' `8bo. 88oodD' 88 88 88 88 88
56+
Y8 I8I 88 88~~~~~ 88~~~b. `Y8b. 88~~~ 88 88 88 88 88
57+
`8b d8'8b d8' 88. 88 8D db 8D 88 88booo. `8b d8' .88. 88
58+
`8b8' `8d8' Y88888P Y8888P' `8888Y' 88 Y88888P `Y88P' Y888888P YP """
59+
60+
hdr_num = random.randint(1, 5)
61+
if hdr_num ==1:
62+
print header_1
63+
if hdr_num ==2:
64+
print header_2
65+
if hdr_num ==3:
66+
print header_3
67+
if hdr_num ==4:
68+
print header_4
69+
if hdr_num ==5:
70+
print header_5
71+
72+
73+

core/header.pyc

2.96 KB
Binary file not shown.

core/help.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit FrameWork Help Module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
from core import wcolors
8+
from time import sleep
9+
def help():
10+
print "\n"
11+
print (wcolors.color.BLUE + "Commands\t\tDescription" + wcolors.color.ENDC)
12+
print (wcolors.color.GREEN + "---------------\t\t----------------" + wcolors.color.ENDC)
13+
print "set \t\t\tSet Value Of Options To Modules"
14+
print "scan\t\t\tScan Wifi (Wireless Modules)"
15+
print "stop\t\t\tStop Attack & Scan (Wireless Modules)"
16+
print "run \t\t\tExecute Module"
17+
print "use \t\t\tSelect Module For Use"
18+
print "os \t\t\tRun Linux Commands(ex : os ifconfig)"
19+
print "back\t\t\tExit Current Module"
20+
print "show modules\t\tShow Modules of Current Database"
21+
print "show options\t\tShow Current Options Of Selected Module"
22+
print "upgrade\t\t\tGet New Version"
23+
print "update\t\t\tUpdate Websploit Framework "
24+
print "about\t\t\tAbout US"
25+
print ""

core/help.pyc

1.08 KB
Binary file not shown.

core/menu.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit FrameWork Menu module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
from core import wcolors
8+
9+
def main_info():
10+
ston = wcolors.color.BLUE + "[" + wcolors.color.ENDC
11+
print ""
12+
print "\t\t--=" + ston + wcolors.color.GREEN + "WebSploit Advanced MITM Framework" + wcolors.color.ENDC
13+
print "\t+---**---==" + ston + "Version :" + wcolors.color.RED + "3.0.0" + wcolors.color.ENDC
14+
print "\t+---**---==" + ston + "Codename :" + wcolors.color.RED + "Katana" + wcolors.color.ENDC
15+
print "\t+---**---==" + ston + "Available Modules : " + wcolors.color.GREEN + "20" + wcolors.color.ENDC
16+
print "\t\t--=" + ston + "Update Date : [" + wcolors.color.RED + "r3.0.0-000 20.9.2014" + wcolors.color.ENDC + "]"
17+
print "\n\n"

core/menu.pyc

836 Bytes
Binary file not shown.

core/menu.py~

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit FrameWork Menu module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
from core import wcolors
8+
9+
def main_info():
10+
ston = wcolors.color.BLUE + "[" + wcolors.color.ENDC
11+
print ""
12+
print "\t\t--=" + ston + "WebSploit FrameWork"
13+
print "\t+---**---==" + ston + "Version :" + wcolors.color.RED + "2.0.1" + wcolors.color.ENDC
14+
print "\t+---**---==" + ston + "Web Modules : " + wcolors.color.GREEN + "4" + wcolors.color.ENDC
15+
print "\t+---**---==" + ston + "Network Modules : " + wcolors.color.GREEN + "7" + wcolors.color.ENDC
16+
print "\t+---**---==" + ston + "Exploit Modules : " + wcolors.color.GREEN + "3" + wcolors.color.ENDC
17+
print "\t+---**---==" + ston + "Created By :" + wcolors.color.CYAN + "Fardin Allahverdinazhand (0x0ptim0us)" + wcolors.color.ENDC
18+
print "\t+---**---==" + ston + "Report Bug :" + wcolors.color.CYAN + "[email protected]" + wcolors.color.ENDC
19+
print "\t\t--=" + ston + "Twitter :" + wcolors.color.CYAN + "@0x0ptim0us" + wcolors.color.ENDC
20+
print "\n\n"

core/modules_database.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env python
2+
#
3+
#Websploit FrameWork Database Module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
from core import wcolors
8+
from time import sleep
9+
def modules_database():
10+
print ""
11+
print (wcolors.color.BLUE + "Web Modules\t\t\tDescription" + wcolors.color.ENDC)
12+
print (wcolors.color.GREEN + "-------------------\t\t---------------------" + wcolors.color.ENDC)
13+
print "web/apache_users\t\tScan Directory Of Apache Users"
14+
print "web/dir_scanner\t\t\tDirectory Scanner"
15+
print "web/wmap\t\t\tInformation Gathering From Victim Web Using (Metasploit Wmap)"
16+
print "web/pma\t\t\t\tPHPMyAdmin Login Page Scanner"
17+
print "web/cloudflare_resolver\t\tCloudFlare Resolver"
18+
print "\n"
19+
print (wcolors.color.BLUE + "Network Modules\t\t\tDescription" + wcolors.color.ENDC)
20+
print (wcolors.color.GREEN + "-------------------\t\t---------------------" + wcolors.color.ENDC)
21+
print "network/arp_dos\t\t\tARP Cache Denial Of Service Attack"
22+
print "network/mfod\t\t\tMiddle Finger Of Doom Attack"
23+
print "network/mitm\t\t\tMan In The Middle Attack"
24+
print "network/mlitm\t\t\tMan Left In The Middle Attack"
25+
print "network/webkiller\t\tTCP Kill Attack"
26+
print "network/fakeupdate\t\tFake Update Attack Using DNS Spoof"
27+
print "network/arp_poisoner\t\tArp Poisoner"
28+
print "\n"
29+
print (wcolors.color.BLUE + "Exploit Modules\t\t\tDescription" + wcolors.color.ENDC)
30+
print (wcolors.color.GREEN + "-------------------\t\t---------------------" + wcolors.color.ENDC)
31+
print "exploit/autopwn\t\t\tMetasploit Autopwn Service"
32+
print "exploit/browser_autopwn\t\tMetasploit Browser Autopwn Service"
33+
print "exploit/java_applet\t\tJava Applet Attack (Using HTML)"
34+
print "\n"
35+
print (wcolors.color.BLUE + "Wireless / Bluetooth Modules\tDescription" + wcolors.color.ENDC)
36+
print (wcolors.color.GREEN + "-------------------\t\t---------------------" + wcolors.color.ENDC)
37+
print "wifi/wifi_jammer\t\tWifi Jammer"
38+
print "wifi/wifi_dos\t\t\tWifi Dos Attack"
39+
print "wifi/wifi_honeypot\t\tWireless Honeypot(Fake AP)"
40+
print "wifi/mass_deauth\t\tMass Deauthentication Attack"
41+
print "bluetooth/bluetooth_pod\t\tBluetooth Ping Of Death Attack"
42+
print "\n"

core/modules_database.pyc

1.99 KB
Binary file not shown.

core/update.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit FrameWork Update Module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
import os
8+
import subprocess
9+
from core import wcolors
10+
from time import sleep
11+
12+
def update():
13+
print(wcolors.color.BLUE + "[*] Use wsf-update.py script for update, you can find this script in installation folder [/usr/share/websploit]" + wcolors.color.ENDC)
14+
pass

core/update.py~

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env python
2+
#
3+
# WebSploit FrameWork Update Module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
import os
8+
import subprocess
9+
from core import wcolors
10+
from time import sleep
11+
12+
def update():
13+
print(wcolors.color.GREEN + "[*]Updating Websploit framework, Please Wait ..." + wcolors.color.ENDC)
14+
sleep(2)
15+
subprocess.Popen("git init", stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).wait()
16+
sleep(2)
17+
os.system("git pull https://github.com/websploit/update.git")
18+
print(wcolors.color.GREEN + "[*]Update was completed successfully." + wcolors.color.ENDC)
19+
sleep(1)

core/upgrade.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env python
2+
#
3+
#Websploit FrameWork Upgrade Module
4+
# Created By 0x0ptim0us (Fardin Allahverdinazhand)
5+
6+
7+
import os
8+
import urllib
9+
from time import sleep
10+
from core import wcolors
11+
import webbrowser
12+
13+
def upgrade():
14+
print(wcolors.color.BOLD + wcolors.color.BLUE + "[*]Checking For New Version, Please Wait ..." + wcolors.color.ENDC)
15+
try:
16+
cu = urllib.urlopen("http://sourceforge.net/projects/websploit/files/")
17+
res = cu.read()
18+
if 'WebSploit Framework V.3.0.1' in res:
19+
print(wcolors.color.GREEN + "[*]New Version Available")
20+
sleep(2)
21+
print("[*]Download Latest Version : https://sourceforge.net/projects/websploit/files/latest/download?source=files" + wcolors.color.ENDC)
22+
print(wcolors.color.CYAN + "[*]Starting Browser To Download Location, Please Wait ..." + wcolors.color.ENDC)
23+
sleep(2)
24+
webbrowser.open("https://sourceforge.net/projects/websploit/files/latest/download?source=files")
25+
else:
26+
print(wcolors.color.BOLD + wcolors.color.RED + "[*]New Version Not Available, This Is Latest Version Of The WebSploit Framework." + wcolors.color.ENDC)
27+
sleep(4)
28+
except(IOError):
29+
print(wcolors.color.BOLD + wcolors.color.RED + "[*]Connection Timeout, Check Your Internet Connection!" + wcolors.color.ENDC)

core/upgrade.pyc

1.43 KB
Binary file not shown.

core/wcolors.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env python
2+
# WebSploit Toolkit
3+
# Idea By Dave Kennedy
4+
# Created By Fardin Allahverdinazhand (0x0ptim0us)
5+
class color:
6+
PURPLE = '\033[95m'
7+
CYAN = '\033[96m'
8+
DARKCYAN = '\033[36m'
9+
BLUE = '\033[94m'
10+
GREEN = '\033[92m'
11+
YELLOW = '\033[93m'
12+
RED = '\033[91m'
13+
BOLD = '\033[1m'
14+
UNDERL = '\033[4m'
15+
ENDC = '\033[0m'
16+
backBlack = '\033[40m'
17+
backRed = '\033[41m'
18+
backGreen = '\033[42m'
19+
backYellow = '\033[43m'
20+
backBlue = '\033[44m'
21+
backMagenta = '\033[45m'
22+
backCyan = '\033[46m'
23+
backWhite = '\033[47m'

core/wcolors.pyc

854 Bytes
Binary file not shown.

modules/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)