bilythekid Posted April 19, 2014 Report Posted April 19, 2014 python ssh.py File "ssh.py", line 91 with open(str(sys.argv[2]),'rU') as ipf: ips = ipf.read().splitlines() ^SyntaxError: invalid syntaxSalut aveti idee ce as putea sa ii fac? Quote
stroici Posted April 21, 2014 Report Posted April 21, 2014 Multumim! Pana acum orice ssh brute am avut l-am suspectat ca mai trimite si mai departe, altora... Chiar, cum se poate verifica asta, daca nu gasesc nimic in cod? Quote
Silviu Posted April 21, 2014 Report Posted April 21, 2014 Multumim! Pana acum orice ssh brute am avut l-am suspectat ca mai trimite si mai departe, altora... Chiar, cum se poate verifica asta, daca nu gasesc nimic in cod?Analizezi traficul din retea. Quote
sebywarlord Posted April 21, 2014 Report Posted April 21, 2014 @stroici Ca sa fii sigur ca nu trimite nimic , opresti sendmail de pe server si gata Quote
stroici Posted April 21, 2014 Report Posted April 21, 2014 Pur si simplu opresc serviciul si gata? Nu stiu, cu ce e mai usor de analizat traficul? Cea mai simpla scula m-ar interesa, fara prostii fancy? Quote
Elohim Posted April 26, 2014 Author Report Posted April 26, 2014 Deci ca sa fim clari, programul este scris in general pentru versiunea 2.7, o sa mearga si pe 2.6, mai jos o sa dea erori la anumite functii. Quote
th3judge Posted May 9, 2014 Report Posted May 9, 2014 (edited) salutam o problema cand incerc sa ii dau drumu..Traceback (most recent call last): File "./x.py", line 3, in <module> import paramiko, sys, Queue, threadingImportError: No module named paramikoma poti ajuta?Edit: problema rezolvataPentru cei care se intalnesc cu aceeasi problema:yum install python-paramikoCentOS Edited May 9, 2014 by th3judge Quote
Sadiq Posted May 12, 2014 Report Posted May 12, 2014 Merge si pe windoze daca iti instalezi python Quote
CaBRoN88 Posted May 23, 2014 Report Posted May 23, 2014 bravo Elohim ,frumos o sa il testez si eu. Quote
hKr Posted October 25, 2014 Report Posted October 25, 2014 Python 2.7.3 (default, Mar 13 2014, 11:03:55)[GCC 4.7.2] on linux2python test.py 100 ips.txt user.txt pass.txt no[COLOR="#FF0000"]No handlers could be found for logger "paramiko.transport"[/COLOR] Quote
jayluc Posted May 3, 2015 Report Posted May 3, 2015 bravo interesant ptr cei care nu aveti paramiko cel mai usor si idicat zic eu este sa il luati prin pip& apt-get instal python-pip$ pip install paramiko Quote
miki1986 Posted February 20, 2018 Report Posted February 20, 2018 root@1-1:/home/ubuntu/.bash# ./brute.py 10 bios.txt user parole no import: unable to open X server `' @ error/import.c/ImportImageCommand/364. ./brute.py: line 3: syntax error near unexpected token `(' ./brute.py: line 3: `class SSHBrute(threading.Thread): ' ma poate ajuta cineva? root@1-1:/home/ubuntu/.bash# ./brute.py 10 bios.txt user parole no import: unable to open X server `' @ error/import.c/ImportImageCommand/364. ./brute.py: line 3: syntax error near unexpected token `(' ./brute.py: line 3: `class SSHBrute(threading.Thread): ' ma poate ajuta cineva? root@1-1:/home/ubuntu/.bash# ./brute.py 10 bios.txt user parole no import: unable to open X server `' @ error/import.c/ImportImageCommand/364. ./brute.py: line 3: syntax error near unexpected token `(' ./brute.py: line 3: `class SSHBrute(threading.Thread): ' ma poate ajuta cineva? 4 hours ago, miki1986 said: care e problema? Quote
Active Members dancezar Posted February 20, 2018 Active Members Report Posted February 20, 2018 #!/usr/bin/python la inceput 1 Quote
miki1986 Posted February 20, 2018 Report Posted February 20, 2018 acum primesc asa ceva root@1-1:/home/ubuntu/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" /usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV self._cipher = factory.new(key, *args, **kwargs Quote
ARUBA Posted February 20, 2018 Report Posted February 20, 2018 15 minutes ago, miki1986 said: acum primesc asa ceva root@1-1:/home/ubuntu/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" /usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV self._cipher = factory.new(key, *args, **kwargs Deci ca sa fim clari, programul este scris in general pentru versiunea 2.7, o sa mearga si pe 2.6, mai jos o sa dea erori la anumite functii. - a scris Elohim Trebuie sa instalezi paramiko. https://docs.python.org/2.7/howto/logging.html#what-happens-if-no-configuration-is-provided https://github.com/ansible/ansible/issues/14247 Nu stiu Python. Quote
miki1986 Posted February 20, 2018 Report Posted February 20, 2018 versiunea 2.7 o am am instalato am dezinstalato si tot asa imi da acum mai nou imi da doar atat root@1-1:/home/ubuntu/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" si ramane asa .. in netstat sunt procese pe 22 dar am pus rooturi la test si nu le gaseste ... Quote
ARUBA Posted February 20, 2018 Report Posted February 20, 2018 7 minutes ago, miki1986 said: versiunea 2.7 o am am instalato am dezinstalato si tot asa imi da acum mai nou imi da doar atat root@1-1:/home/ubuntu/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" si ramane asa .. in netstat sunt procese pe 22 dar am pus rooturi la test si nu le gaseste ... https://github.com/ansible/ansible/issues/13721 Cred ca gasesti rezolvarea aici. Quote
miki1986 Posted February 20, 2018 Report Posted February 20, 2018 se pare ca nu ... si tin sa precizez ca e pe calculatorul de acasa cu ubuntu .. incerc sa fac sa mearga si nu reusesc root@1-1:/home/ubuntu/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" pe altu tot cu ubuntu la fel root@miki-K72Jr:/var/tmp/.bash# ./brute.py 100 bios.txt user parole no No handlers could be found for logger "paramiko.transport" Quote