SalPaCuNuiaua Posted January 24, 2019 Report Share Posted January 24, 2019 (edited) Am o problema..Nu pot sa folosesc Nmap cand scriu cod.. Scriu codul de scann tot..Si imi spune ca: AttributeError: 'module' object has no attribute 'PortScanner' Apoi caut pe net si imi spune sa dezinstalez nmap si sa il instalez iar: pip uninstall nmap & pip install nmap Faza e ca imi spune ca cica nu il am: Cannot uninstall requirement nmap, not installed iar cand dau sa il instalez imi da eroarea asta: error: invalid command 'bdist_wheel' Failed building wheel for nmap...Cine ma poate ajuta ? Apoi imi mai da o eraore setuptools..Incerc sa instalez si imi da E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) Edited January 24, 2019 by SalPaCuNuiaua Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 Da copy/paste la ce iti spune, la ce comanda/argumente incerci. Si instaleaza-l specific distributiei, ce pip? Nmap e scris in C, nu in python. Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Incerc sa fac un scanner in python Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 Ce versiune de python ai? Incearca asta inainte de a instala altele: pip uninstall wheel pip install wheel Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Am instalat Wheel e bine..Dar acum trebuie sa instalez pip3 install python-nmap dar imi da eroare ca nu am setuptools Incerc sa instalez setuptools dar imi da asta E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 Arata-ne fisierul "/etc/apt/sources.list". Ai dat apt-get update inainte? Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Nu ma lasa sa dau apt-get update E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 Pai pune fisierul aici Sa-l vad. cat /etc/apt/sources.list Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Asta am in /etc/apt/ . apt.conf.d sources.list trusted.gpg trusted.gpg.d .. preferences.d sources.list.d trusted.gpg~ Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Asta arata deb OWASP Mantra OS / #OWASP WTE Stable Repository Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Scriu aici asa ? $ sudo echo "deb OWASP Mantra OS / #OWASP WTE Stable Repository" >> /etc/apt/sources.list $ sudo apt-get update $ sudo apt-get install owasp-wte-zap Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 E gresit main. Da comanda asta si da copy/paste aici. cat /etc/apt/sources.list Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Asta imi arata deb OWASP Mantra OS / #OWASP WTE Stable Repository Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 3 minutes ago, SalPaCuNuiaua said: @aelius Asta imi arata deb OWASP Mantra OS / #OWASP WTE Stable Repository Cred ca ai dat cu un singur ">". Oricum, nici ala nu e bine setat. Ce distributie este? Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Nu stiu unde vad ? Quote Link to comment Share on other sites More sharing options...
SalPaCuNuiaua Posted January 24, 2019 Author Report Share Posted January 24, 2019 @aelius Nu ai discord sau ceva sa ma ajuti acolo ? Quote Link to comment Share on other sites More sharing options...
Active Members Fi8sVrs Posted January 24, 2019 Active Members Report Share Posted January 24, 2019 6Ma uitam la pornake $ uname -or 1 Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2019 Report Share Posted January 24, 2019 lol. Nu stii ce ai instalat, sau cum? Quote Link to comment Share on other sites More sharing options...
KtLN Posted January 24, 2019 Report Share Posted January 24, 2019 Absurd sa nu stii ce faci... Fi mai explicit de ceia ce ai nevoie.. Quote Link to comment Share on other sites More sharing options...
ARUBA Posted January 24, 2019 Report Share Posted January 24, 2019 49 minutes ago, KtLN said: Absurd sa nu stii ce faci... Fii mai explicit de ceea ce ai nevoie.. in legatura cu Quote Link to comment Share on other sites More sharing options...
ARUBA Posted January 24, 2019 Report Share Posted January 24, 2019 9 hours ago, SalPaCuNuiaua said: Am o problema..Nu pot sa folosesc Nmap cand scriu cod.. Scriu codul de scann tot..Si imi spune ca: AttributeError: 'module' object has no attribute 'PortScanner' Apoi caut pe net si imi spune sa dezinstalez nmap si sa il instalez iar: pip uninstall nmap & pip install nmap Faza e ca imi spune ca cica nu il am: Cannot uninstall requirement nmap, not installed iar cand dau sa il instalez imi da eroarea asta: error: invalid command 'bdist_wheel' Failed building wheel for nmap...Cine ma poate ajuta ? Apoi imi mai da o eraore setuptools..Incerc sa instalez si imi da E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) Instaleaza gdebi: sudo apt-get install gdebi Pe urma instalezi ce aplicatie doresti: sudo gdebi vmware.deb/porno.deb/altaaplicatie.deb Hai ca maine iti faci alt cont si ne intrebi cum se intaleaza Internet Explorer. Ai invatat SQL, Burp Suite, nmap si Python, ai participat si la CTF-uri -ai iesit pe locul 3, din 3. Saptamana viitoare mi-e ca programezi Stuxnet2, ii dai in spaima pe iranieni. 1 Quote Link to comment Share on other sites More sharing options...
aelius Posted January 25, 2019 Report Share Posted January 25, 2019 repo-ul care incearca el sa-l adauge macbook:~$ curl --head http://appseclive.org/apt/stable HTTP/1.1 302 Found Server: nginx/1.14.1 Date: Fri, 25 Jan 2019 00:12:23 GMT Content-Type: text/html; charset=iso-8859-1 Connection: close Location: http://appseclive.org/cgi-sys/suspendedpage.cgi Oricum, a pus "deb OWASP Mantra OS / #OWASP WTE Stable Repository" in loc de el. Quote Link to comment Share on other sites More sharing options...