complexpotato / Faitagram

(Doesn't work anymore)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python setup.py syntax error

smrst opened this issue · comments

commented

hi ,
why when try to run python setup.py i get this error ?
python setup.py
File "setup.py", line 42
chmod +x faitagram && chmod +x setup.py
^
SyntaxError: invalid syntax

Ok, found the Issue.

There is an Error ion the setup.py file that needs to be corrected.

Line 42 which is the last one in the file looks like this:

os.system("wget https://github.com/mozilla/geckodriver/releases/download/v0.{}.{}/geckodriver-v0.{}.{}-linux{}.tar.gz".format(first,second,first,second,OS_bit))
os.system("tar -xvzf geckodriver-v0.{}.{}-linux{}.tar.gz".format(first,second,OS_bit))
os.system("rm geckodriver-v0.{}.{}-linux{}.tar.gz".format(first,second,OS_bit))
os.system("chmod +x geckodriver")
os.system("mv geckodriver /usr/local/bin/")

chmod +x faitagram && chmod +x setup.py

But it has to look like this:

os.system ("chmod +x faitagram && chmod +x setup.py")

commented

thank you , yes it worked for me .
now its another problem :
here is the code :

  • Bruteforce starting ( Delay = 1 sec ) -

    Password: 123456 | Failed | IP : 00 . 00 . 00. 00 (actually the ip is not changed )

Error : 0x01: General SOCKS server failure
i have checked tor , its running and listening . apparently its not connecting to tor .

python faitagram -s facebook -u MeMeBigBoy@gmail.com -w /root/passwd.txt -d 10
File "faitagram", line 263
python setup.py
^
SyntaxError: invalid syntax

Yes, this Script has a lot of errors and I could use the time correcting it, just building a better one.

So there is no use in trying to make this one work.

Besides if you have no idea what you are doing and are irritated by the simple python script not printing correctly you should do your homework first and foremost.

while installing i got a error like this...

Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Post-exec seccomp protector enabled
Child process initialized in 234.59 ms

Parent is shutting down, bye...
Traceback (most recent call last):
File "setup.py", line 37, in
os.system("wget https://github.com/mozilla/geckodriver/releases/download/v0.{}.{}/geckodriver-v0.{}.{}-linux{}.tar.gz".format(first,second,first,second,OS_bit))
NameError: name 'OS_bit' is not defined

commented

as i read about it online , The server was listening on 'localhost' which meant only on the localhost interface.
Not the external-facing network. thats why the ip doesnt change and its not working . i tried different links and codes and none actually worked . its still open . . .

Can u fix this script

commented

file "setup.py" line 37
OS_bit is not defined

a = 79

FirefoxVersion = int(a)
second = 0

if FirefoxVersion > 54:
first = 19
OS_bit = 64

@RA-bit-del