always love catching ur vids! Thank you for for taking time from your life to make things easier for people like me that have hard times getting the concept of things, you have always helped me with stuff whenever i cant figure it out! i myself appreciate it tremendously
you are a better teacher for free than every (legitimately EVERY) teacher i have paid a tuition to learn from. i have watched most if not all of your videos more than once. enough to say that this program could be written in bash in less lines lol probably wouldnt be as functional or look as good but even so, this gave me a better understanding of how to utilize python and for that sir my hat (white hat lol) is off to you. thank you for everything
From Nmap.org >> UDP scan is activated with the -sU option. It can be combined with a TCP scan type such as SYN scan (-sS) to check both protocols during the same run.
Cool , ive just copy pasted the commands n i understood the functions and statements uve used. . ik this is not right way i done like a script kiddie . But the reason why i aint jumped deep is currently im learning C , so i dont want to cofuse me all the commands so as of now i skipped the deep learning part after i finish C i assure you i'll learn python n watch all your python related vids. . n jump deep Thankyou sir . You been a great help !
Alexis... I really appreciate you taking the time to create these tutorials. They have been a great source of understanding for me. I would like to ask however, Traceback (most recent call last): File "e:\PythonProjects\scanner.py", line 26, in print("Open Ports: ", scanner[ip_addr]['tcp'].keys()) KeyError: 'tcp'
Not sure but I think because the host wasn't up, there's no information created related to it which means .keys() would return null. have a look at python 2-dimensional arrays if you want xD
I'm getting the same for 'udp' can't find help anywhere. Can't even find the documentation lmao and ChatGPT just doesn;t help iether. I don't what tf to do - did you find an ansswer?
I hope this series is more always than c programing . U did a lot of good job man i fall in love in pentesting from your video. Thanks from Poland . ;)
after I done my research about the shebang why don't you make this #!/usr/bin/env python instead of this #!/usr/bin/python3 to make it more portable... #!/usr/bin/env python can detect the latest version of python (which is python3.) You can test it as you like but it is a good suggestion if the users install the program in their unix-like computer to make it more portable to not worry to path we have to specify.
u can also create a virtualenv for that particular project with that u can run ur code on any system without worrying about imported modules or installed modules
Bro can you tell me how to extract and print the output of the command if any script is given in options(take for example- DNS-brute force script), please response soon if you have an idea abt it.
its me Abdul Museeb this is absolutely fantastic it is what i am looking for.. Thank You so much for such an amazing tutorials.. can you make a video related to this that how to build automated web application penetration testing framework or tool. just like the same on which there should have an option like for 1:xss 2:CSRF 3: Injection and much more so it will ask from the user either you want to scan all vulnerabilities or specific user have to just select the vulnerability option and at the end the tool will give a complete report of selected vulnerability that the user have chosen.. this will be your pleasure sir if you make it.
Hey. I always watch your videos and learn some new stuff as I am new and just started studying CEH and Bug Bounty but recently I started getting some issues to unserstand python and javascript programming like: loops, functions, native datatypes, etc. so can you suggest some source to study both programming language as a beginner stage!!!
Works find when run against my router, but running from a kali vm against a windows vm (both on NAT Network) it throws an error at "scanner[ip_addr]['tcp'].keys()"--specifically saying "KeyError: 'tcp.'" Same thing with 'udp' too. Ideas?
Hi Hackersploit, huge fan of your work to educate in an accessible way. I wanted to ask you if there are any resources that you would recommend for learning to fuzz with python. From what i have seen python has fuzzywuzzy, however I am not sure how to use it. From what I think I understand, it can be made to brute force various types inputs and endpoints on web apps to find bugs that can possibly be exploited. Any guidance would be greatly appreciated. Thanks.
try : ip = int(input("Inserisci l'ip, Enter the ip")) print("scanning on", ip) type(ip) except: while True: try: ip = int(ip) break except: ip = int(input("Inserisci l'ip, Enter the ip")) if u want to make sure he write a number
Hi great video, i followed along but have been given this error - ModuleNotFoundError: No module named 'nmap' I have imported nmap in the code i have the latest version of python and nmap but the error still shows google isn't being very helpful any ideas guys? thanks :)
Is it possible to take an already prepared python script for a scanner that nmap has in its inventory and modify it using python as you do so that we don't have to go trough the entire process of developing a new nmap scanner? I hope this is making sense.
i have tried alot of tools from git hub but they are not working properly also their results are not accurate. there for i want to built such type of tool by myself can you help me. or there is any open source tool that is GUI or CLI based which is open source and free.. THanks
I found it useful, I've currently added it to my github, and I am going to try and add another 6 commands to it. The only issue I have is when Built on ubuntu I have to sudo it. I'm not 100% sure why that is?
when i am running the code it's showing an error with 'You requested a scan which requires root privileges' then i used sudo command then it's start showing me no module named nmap?
Hi If you are a fan of learning, you are welcome with us in this course where you will learn What You Will Learn? At the end of this course, you will have a detailed understanding of Web Automation Frameworks You will be able to EXPLAIN, DESIGN and IMPLEMENT structured AUTOMATION FRAMEWORKS You should be able to lead any Selenium Automation Project on your own You will have the required skills to automate any web application And more! All this and more in an invaluable integrated course click here stude.co/546862/selenium-webdriver-with-python-3x
Hello sir, I have just started python for creating some hacking tool or you can say automation. Is there a proper documentation for python-nmap module. And how you add extra nmap command like " -v -SS" in line 22. Can you explain that one.
if you are going to add a date and time at the beginning of the scan and the end where you type this code and if you are going to make a file for the ports are not open where do you type that code?
Venting: Thing I hate about programming is nothing ever goes as smooth as the tutorial. I had to pip3 uninstall nmap....to pip3 install python-nmap....then i had to install the nmap windows binary because the portscanner module couldnt be imported without it....then i had to update my VS Code to get that working JUST TO BEGIN walking through this....This is usually how programming goes for me and has been a very discouraging element to learning python. Just getting everything up and running took about an hour and a half hopping through stack overflow articles and pasting error messages into google....
Please can you help me to develop vulnerability alert system. i am working on my final year project. that is getting alert in my phone when there is vulnerability in my server
@@satyasingh6144 bro.. you must have installed another python module named nmap. please do uninstall both first. pip uninstall nmap .. pip uninstall python-nmap. and reinstall python-nmap. pip install python-nmap.
Is anyone else experiencing Pycharm/VS Code/VS community not having an Nmap Module? I have spent weeks researching this issue and have been unable to figure this out.. Suggestions?
always love catching ur vids! Thank you for for taking time from your life to make things easier for people like me that have hard times getting the concept of things, you have always helped me with stuff whenever i cant figure it out! i myself appreciate it tremendously
Thank you very much for your continued support.
you are a better teacher for free than every (legitimately EVERY) teacher i have paid a tuition to learn from. i have watched most if not all of your videos more than once. enough to say that this program could be written in bash in less lines lol probably wouldnt be as functional or look as good but even so, this gave me a better understanding of how to utilize python and for that sir my hat (white hat lol) is off to you. thank you for everything
You are one of the greatest teacher i have encountered...thank you
From Nmap.org >> UDP scan is activated with the -sU option. It can be combined with a TCP scan type such as SYN scan (-sS) to check both protocols during the same run.
Cool , ive just copy pasted the commands n i understood the functions and statements uve used. . ik this is not right way i done like a script kiddie .
But the reason why i aint jumped deep is currently im learning C , so i dont want to cofuse me all the commands so as of now i skipped the deep learning part after i finish C i assure you i'll learn python n watch all your python related vids. . n jump deep
Thankyou sir . You been a great help !
Alexis... I really appreciate you taking the time to create these tutorials. They have been a great source of understanding for me. I would like to ask however,
Traceback (most recent call last):
File "e:\PythonProjects\scanner.py", line 26, in
print("Open Ports: ", scanner[ip_addr]['tcp'].keys())
KeyError: 'tcp'
Not sure but I think because the host wasn't up, there's no information created related to it which means .keys() would return null.
have a look at python 2-dimensional arrays if you want xD
I'm getting the same for 'udp' can't find help anywhere. Can't even find the documentation lmao and ChatGPT just doesn;t help iether. I don't what tf to do - did you find an ansswer?
I hope this series is more always than c programing .
U did a lot of good job man i fall in love in pentesting from your video. Thanks from Poland . ;)
when is the next videro on this project! really enjoyd it
Thanks for this lesson, greeetings from Brazil.
For my cs master's research, I need to get information about 500 websites. This is what exactly I was looking for.
By the way thanks for helping us here. we do appreciate your tutorials and i am constantly inviting friends to subscribe and always like the videos
you videos really clear my dobts
this channel is so so good
Thank you so much sir I am improve this with (AI) commands love from India
How had I over looked this one!😊
I'm facing a issue .........module 'nmap' has no attribute 'PortScanner'........any one here to help me???
after I done my research about the shebang why don't you make this #!/usr/bin/env python instead of this #!/usr/bin/python3 to make it more portable...
#!/usr/bin/env python can detect the latest version of python (which is python3.)
You can test it as you like but it is a good suggestion if the users install the program in their unix-like computer to make it more portable to not worry to path we have to specify.
u can also create a virtualenv for that particular project
with that u can run ur code on any system without worrying about imported modules or installed modules
Bro can you tell me how to extract and print the output of the command if any script is given in options(take for example- DNS-brute force script), please response soon if you have an idea abt it.
its me Abdul Museeb this is absolutely fantastic it is what i am looking for.. Thank You so much for such an amazing tutorials.. can you make a video related to this that how to build automated web application penetration testing framework or tool. just like the same on which there should have an option like for 1:xss 2:CSRF 3: Injection and much more so it will ask from the user either you want to scan all vulnerabilities or specific user have to just select the vulnerability option and at the end the tool will give a complete report of selected vulnerability that the user have chosen.. this will be your pleasure sir if you make it.
This was so fun! Cant wait for the next video :D
Wonderful Video keep it up Bro always enjoying your videos ❤👍
Thanks you for the class, I learned a lot
bro it's l am enjoying the series, thank you!
A great video as always sir. Thank you so much sir.
muchas gracias buen hombre eres un ejemplo a seguir sigue asi bendiciones
so thanks good men
Informative
Thanks 🌸
Very informative, thanks man!
Whenever I run this I get a KeyError 'tcp', what does that mean?
I'm getting the error: map.nmap.PortScannerError: 'nmap program was not found in path. PATH is
Maybe add path to system environment variables
I was getting the same error on MAC OS and ended finding a fix by installing nmap through homebrew. Once installed error went away.
This was very helpful! :D
Real teaching
Really GREAT! Thanks!
eagerly waiting for it
Hey. I always watch your videos and learn some new stuff as I am new and just started studying CEH and Bug Bounty but recently I started getting some issues to unserstand python and javascript programming like: loops, functions, native datatypes, etc. so can you suggest some source to study both programming language as a beginner stage!!!
you do amazing things thanks, bro
Huge fun of your videos
muchas gracias buen hombre eres un ejemplo a seguir sigue asi bendiciones
so thanks good men
New video in python series. Thanks
Amazing Bro Plz Make a video on Python Concepts how we create our own tools by hardcore concepts of python
Continue with this serie of python
You are very helpful boy !
Works find when run against my router, but running from a kali vm against a windows vm (both on NAT Network) it throws an error at "scanner[ip_addr]['tcp'].keys()"--specifically saying "KeyError: 'tcp.'" Same thing with 'udp' too.
Ideas?
Run them both on bridged network and it should be good
Nice explanation
Sir please continue this series regularly upload 🙏🙏🙏🙏🙏🙏 thanks sir
I am getting an attribute error saying “Module ‘nmap’ has no attribute ‘PortScanner’ “
me too, please help me
Hi Hackersploit, huge fan of your work to educate in an accessible way. I wanted to ask you if there are any resources that you would recommend for learning to fuzz with python. From what i have seen python has fuzzywuzzy, however I am not sure how to use it. From what I think I understand, it can be made to brute force various types inputs and endpoints on web apps to find bugs that can possibly be exploited. Any guidance would be greatly appreciated. Thanks.
try :
ip = int(input("Inserisci l'ip, Enter the ip"))
print("scanning on", ip)
type(ip)
except:
while True:
try:
ip = int(ip)
break
except:
ip = int(input("Inserisci l'ip, Enter the ip"))
if u want to make sure he write a number
Where can I find your desktop wallpaper? That is very cool
How u knew the functions .scannerinfo() and etc you used in this script
what is your favorite operating system
At last you upload 😅
just to clarify, you are not actually "developing" it, you are importing an already developed code and just using it :D
he's creating a code based on an existing nmap api
You know that's what developing is right? unless you are writing system drivers or kernels you are always building upon other's code my friend
Love you bro
Hi great video, i followed along but have been given this error - ModuleNotFoundError: No module named 'nmap'
I have imported nmap in the code
i have the latest version of python and nmap
but the error still shows
google isn't being very helpful
any ideas guys?
thanks :)
Your Big Fan!!
It was wonderful
how to discover all host on network ?
Thank you so much for this video,but I have a simple suggestion is to add English subtitles to your videos
But Closed Captions are generated automatically which means that special words not generated correctly
My man....I LOVE your videos, but is telnet open on your router??
bruh script kiddie thats your own network your scanning
@@CameronNoakes what?
@@CameronNoakes Oh wait I see, you think I was scanning a private class C address lmao. Im talking about his scan result from 18:30.
@@omerthebear you're asking what's on his router so I take it u tried to scan his network
@@omerthebear ah right I see my bad
great video
Very fucking your content, I really like your videos. I watch them here from Brasil 🇧🇷
Always love your vidoes sir
And nice videos sir
Please upload what's app hacking vidoes without mobile
Do you have any documentation of python-nmap module? How do you know which functions are there in this library?
Plz Can you release video about how net cut with python..
Is it possible to take an already prepared python script for a scanner that nmap has in its inventory and modify it using python as you do so that we don't have to go trough the entire process of developing a new nmap scanner? I hope this is making sense.
when i do SYN ACK scan the open ports only says 1024 every single time
You should do a learn python masterclass or something like that, thanks.
Thank for yours Video!!!
Can I use this module on windows?
When i'm try it on windows machine (Pycharm) a path error raised.
i have tried alot of tools from git hub but they are not working properly also their results are not accurate. there for i want to built such type of tool by myself can you help me. or there is any open source tool that is GUI or CLI based which is open source and free.. THanks
Use else better then elif ...imagine if I write 0 or -1 ....
Even better to use except
would be better if you make the menu inside a while True and add the try and except functions
Had to change somethings to translate to Python on linux
I found it useful, I've currently added it to my github, and I am going to try and add another 6 commands to it.
The only issue I have is when Built on ubuntu I have to sudo it. I'm not 100% sure why that is?
Because some operations in nmap require root privileges to scan such as raw port scanning
Thx
when i am running the code it's showing an error with 'You requested a scan which requires root privileges' then i used sudo command then it's start showing me no module named nmap?
Hey HackerSploit!
Could you tell how to execute a script on terminal startup, like you're doing here, printing that HACKERSPLOIT...
Thanks
Hi
If you are a fan of learning, you are welcome with us in this course where you will learn
What You Will Learn?
At the end of this course, you will have a detailed understanding of Web Automation Frameworks
You will be able to EXPLAIN, DESIGN and IMPLEMENT structured AUTOMATION FRAMEWORKS
You should be able to lead any Selenium Automation Project on your own
You will have the required skills to automate any web application
And more!
All this and more in an invaluable integrated course click here
stude.co/546862/selenium-webdriver-with-python-3x
Hello sir,
I have just started python for creating some hacking tool or you can say automation. Is there a proper documentation for python-nmap module. And how you add extra nmap command like " -v -SS" in line 22. Can you explain that one.
if you are going to add a date and time at the beginning of the scan and the end where you type this code and if you are going to make a file for the ports are not open where do you type that code?
The Python script works on PYCHARM But it doesn't work in terminal, what should i do?
U can make this program with os.system
how did you find your desktop wallpapers???
What is happening when print(scanner[ip_addr].all_protocols()) is executed?
cant for videos about cobalt strike and empire
Amanda Mate
You are almost in every single Sec video
From defcon talks to small UA-camrs vid
@@ko-Daegu hahhaha loool well you got me
Wow awesome
Thanks
Will you continue this series?
I tried to use it on mine it says nmap has no atttribute portscanner
Still trying to figure out how to edit the way the output looks
Keep posting videos
what if i wanna scan a range?
note: this will only work for linux users. windows cmd users will have to install nmap
Venting: Thing I hate about programming is nothing ever goes as smooth as the tutorial. I had to pip3 uninstall nmap....to pip3 install python-nmap....then i had to install the nmap windows binary because the portscanner module couldnt be imported without it....then i had to update my VS Code to get that working JUST TO BEGIN walking through this....This is usually how programming goes for me and has been a very discouraging element to learning python. Just getting everything up and running took about an hour and a half hopping through stack overflow articles and pasting error messages into google....
Yeah pycharm made importing modules so easy
Please can you help me to develop vulnerability alert system. i am working on my final year project. that is getting alert in my phone when there is vulnerability in my server
help, any idea how to install python-nmap using conda on an environment
the (import nmap) does not seem to work ,what can i do there ? cheers.
not work a programm
'nmap' has no attribute named PortScanner
What if the user enters 0 as an option?
I keep getting this errer: module nmap has no attribute "PortScanner", any1 know what it is?
someone please answer this
Pip3 uninstall python-nmap && pip3 install python-nmap
@@satyasingh6144 bro.. you must have installed another python module named nmap. please do uninstall both first. pip uninstall nmap .. pip uninstall python-nmap. and reinstall python-nmap.
pip install python-nmap.
TheGameJasper copy the folder from the nmap to your project and your python class inside that nmap folder
How to do python coding on Parrot's interface?
Is anyone else experiencing Pycharm/VS Code/VS community not having an Nmap Module? I have spent weeks researching this issue and have been unable to figure this out..
Suggestions?