Results for "Author: josh simmons"
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
I know there are other port scanners posted here at PSC, and definitely they're a ton better than this, but no matter, this code is well documented and is great to use for learning about winsock. This port scanner allows the user to do two things... either do a scan to find all the ports that are in use (within the port range specified) on the local machine, or do a scan to find all the ports that are accepting connections on another machine (though you can scan yourself as well). The user specifies a target IP address, a port range (0-32676), and the max amount of winsock elements that can be loaded at once (this doesn't mean that the program will be limited to scanning that amount of ports per second, though). As well, there's an option for the user to have the name of the port (what the port is used for) displayed (if it's documented - there's an array in the program that has the names of the ports). The port scanner closes connections and counts them out as errored connections if a connection is not established between the machines on a particular port within .75 seconds of the time the request is sent...
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).