Last thought about implementing a simple WPS cracker in python. I think you could me, student cybersecurity,give something prompt.
Firstly, the generator needs. I know that bad implementation wps gives 10 ^ 4 + 10 ^ 3 combinations. A total of 11,000. 8 messages is sent, the wps first checks the first 4 digits then the rest (8 digit is a checksum). With this generator does not have any problems.
I only wonder how using python can connect to the router, how can I replace it with a password etc. Use to have this module socket? maybe something else? How ever write such a tool, where to get the knowledge that I so fiercely wants to explore.
What packages are used during such exchanges. how to handle the response.
For everything in advance thanks.
Paramiko can be the library you are looking for.
Documentation:
http://docs.paramiko.org/en/2.1/
An example:
https://pynet.twb-tech.com/blog/python/paramiko-ssh-part1.html
It allow you to interact directly with the router, through the SSH protocol.