2
2
# -*- coding: UTF-8 -*-
3
3
# Version 1.1.0
4
4
import os
5
+ import subprocess
5
6
import sys
6
7
import webbrowser
7
8
import socket
@@ -246,7 +247,7 @@ def dracnmap(self):
246
247
def ports (self ):
247
248
self .clear_scr ()
248
249
target = input ('Select a Target IP: ' )
249
- os . system ( f "sudo nmap -O -Pn { target } " )
250
+ subprocess . run ([ "sudo" , " nmap" , "-O" , " -Pn" , f" { target } "] )
250
251
input ('\n Press Enter to back...' )
251
252
self .info ()
252
253
@@ -378,7 +379,8 @@ def striker(self):
378
379
379
380
if choice == "2" :
380
381
site = input ("Enter Site Name (example.com) >> " )
381
- os .system (f"cd Striker && sudo python3 striker.py { site } " )
382
+ os .system (f"cd Striker" )
383
+ subprocess .run (["sudo" , "python3" , "striker.py" , f"{ site } " ])
382
384
self .striker ()
383
385
384
386
if choice == "99" :
@@ -426,7 +428,7 @@ def portscanner(self):
426
428
427
429
if choice == "2" :
428
430
ip = input ("Enter Ip >> " )
429
- os . system ( f"cd rang3r; sudo python rang3r.py --ip { ip } " )
431
+ subprocess . run ([ " sudo" , " python" , "./ rang3r/rang3r .py" , " --ip" , f" { ip } "] )
430
432
self .portscanner ()
431
433
432
434
if choice == "99" :
@@ -1641,12 +1643,12 @@ def steganohide(self):
1641
1643
if choice_run == "1" :
1642
1644
file_hide = input ("Enter Filename you want to Embed (1.txt) >> " )
1643
1645
file_to_be_hide = input ("Enter Cover Filename(test.jpeg) >> " )
1644
- os . system ( f "steghide embed -cf { file_to_be_hide } -ef { file_hide } " )
1646
+ subprocess . run ([ "steghide" , " embed" , " -cf" , f" { file_to_be_hide } " , " -ef" , f" { file_hide } "] )
1645
1647
self .steganohide ()
1646
1648
1647
1649
if choice_run == "2" :
1648
1650
from_file = input ("Enter Filename From Extract Data >> " )
1649
- os . system ( f "steghide extract -sf { from_file } " )
1651
+ subprocess . run ([ "steghide" , " extract" , " -sf" , f" { from_file } "] )
1650
1652
self .steganohide ()
1651
1653
1652
1654
if choice_run == '99' :
@@ -1669,7 +1671,7 @@ def stegnocracker(self):
1669
1671
if choice == "2" :
1670
1672
filename = input ("Enter Filename:- " )
1671
1673
passfile = input ("Enter Wordlist Filename:- " )
1672
- os . system ( f "stegcracker { filename } { passfile } " )
1674
+ subprocess . run ([ "stegcracker" , f" { filename } " , f" { passfile } "] )
1673
1675
self .stegnocracker ()
1674
1676
1675
1677
if choice == "99" :
@@ -1917,7 +1919,8 @@ def instabrute(self):
1917
1919
if choice == "2" :
1918
1920
name = input ("Enter Username >> " )
1919
1921
wordlist = input ("Enter wordword list >> " )
1920
- os .system (f"cd instaBrute;sudo python instaBrute.py -u { name } -d { wordlist } " )
1922
+ os .system (f"cd instaBrute" )
1923
+ subprocess .run (["sudo" , "python" , "instaBrute.py" , "-u" , f"{ name } " , "-d" , f"{ wordlist } " ])
1921
1924
self .instabrute ()
1922
1925
1923
1926
if choice == "99" :
@@ -1957,7 +1960,8 @@ def faceshell(self):
1957
1960
if choice == "2" :
1958
1961
name = input ("Enter Username >> " )
1959
1962
wordlist = input ("Enter Wordlist >> " )
1960
- os .system (f"cd Brute_Force;python3 Brute_Force.py -f { name } -l { wordlist } " )
1963
+ os .system ("cd Brute_Force" )
1964
+ subprocess .run ("python3" , "Brute_Force.py" , "-f" , f"{ name } " , "-l" , f"{ wordlist } " )
1961
1965
self .faceshell ()
1962
1966
1963
1967
if choice == "99" :
@@ -2376,7 +2380,8 @@ def sherlock(self):
2376
2380
2377
2381
if choice == "2" :
2378
2382
name = input ("Enter Username >> " )
2379
- os .system (f"cd sherlock ;sudo python3 sherlock { name } " )
2383
+ os .system ("cd sherlock" )
2384
+ subprocess .run (["sudo" , "python3" , "sherlock" , f"{ name } " ])
2380
2385
self .sherlock ()
2381
2386
2382
2387
if choice == "99" :
@@ -2395,7 +2400,7 @@ def socialscan(self):
2395
2400
2396
2401
if choice == "2" :
2397
2402
name = input ("Enter Username or Emailid (if both then please space between email & username) >> " )
2398
- os . system ( f "sudo socialscan { name } " )
2403
+ subprocess . run ([ "sudo" , " socialscan" , f" { name } "] )
2399
2404
self .socialscan ()
2400
2405
2401
2406
if choice == "99" :
@@ -2570,7 +2575,7 @@ def apk2gold(self):
2570
2575
2571
2576
if choice == "2" :
2572
2577
uinput = input ("Enter (.apk) File >> " )
2573
- os . system ( "sudo apk2gold {0}" .format (uinput ))
2578
+ subprocess . run ([ "sudo" , " apk2gold" , " {0}" .format (uinput )] )
2574
2579
2575
2580
if choice == "99" :
2576
2581
self .reversetool ()
@@ -2629,7 +2634,7 @@ def slowloris(self):
2629
2634
2630
2635
if choice == "2" :
2631
2636
target_site = input ("Enter Target Site:- " )
2632
- os . system ( f "slowloris { target_site } " )
2637
+ subprocess . run ([ "slowloris" , f" { target_site } "] )
2633
2638
self .slowloris ()
2634
2639
2635
2640
if choice == "99" :
@@ -2651,7 +2656,8 @@ def asyncrone(self):
2651
2656
source_port = input ("Enter Source Port >> " )
2652
2657
target_ip = input ("Enter Target IP >> " )
2653
2658
target_port = input ("Enter Target port >> " )
2654
- os .system (f"cd aSYNcrone;sudo ./aSYNcrone { source_port } { target_ip } { target_port } 1000" )
2659
+ os .system (f"cd aSYNcrone" )
2660
+ subprocess .run (["sudo" , "./aSYNcrone" , f"{ source_port } " , f"{ target_ip } " , f"{ target_port } " , "1000" ])
2655
2661
self .asyncrone ()
2656
2662
2657
2663
if choice == "99" :
@@ -2922,7 +2928,8 @@ def xsscon(self):
2922
2928
2923
2929
if choice == "2" :
2924
2930
website = input ("Enter Website >> " )
2925
- os .system (f"cd XSSCon;python3 xsscon.py -u { website } " )
2931
+ os .system ("cd XSSCon" )
2932
+ subprocess .run (["python3" , "xsscon.py" , "-u" , f"{ website } " ])
2926
2933
self .xsscon ()
2927
2934
2928
2935
if choice == "99" :
0 commit comments