ztgrace / changeme

A default credential scanner.
GNU General Public License v3.0
1.44k stars 248 forks source link

adding checks for the port #42

Closed Graph-X closed 7 years ago

Graph-X commented 7 years ago

ran into errors when I mistakenly added a / to the end of the host info and the port assignment in target.py didn't like that. added some code to strip out any non numerical characters and also make sure the port is in a valid range between 1 - 65534.

ztgrace commented 7 years ago

Checks are failing, but that's because the responses lib 0.8.0 released two days ago is breaking the unit tests. your changes are good.