Posted
https://cdn.discordapp.com/attachments/744131168018104320/749027674323812373/kekw.mp4Â
Â
Replied
NERD LANGUAGE ALERT!!!! LMAO
:D
Cancel
Post
Replied
Spoon scanner
ahahahaha
i still suck
Cancel
Post
Corn is not a great source of nutrients
Replied
@JOSHMISTY its not a nerd language, if you look at the code, its actually pretty easy to understand
1. imports the socket module
2. creates a socket called mainsock
3. makes a variable which is a list, it will store opened ports in there
4. scanning function scanner() which takes the IP as a parameter
in there, it loops through every possible port, and then it tries to connect to it, if it connects to it it then adds the port to the open ports list, if it fails with an error, it just ignores, it means the port is closed. at the end of all of that, it closes the socket called mainsock and shows the opened ports
5. code body
a. asks for the IP
b. runs the scanner function and passes the ip the user entered as a parameter (does what is described in 4)
c. runs input() so that the program does not quit until the user presses enter
ok thats basically how the code works, its pretty simple
Cancel
Post
My new discord is Wabz#1337 with ID 777154062789509130
Corn is not a great source of nutrients
Corn is not a great source of nutrients
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post