Also, my guess is most users don't have that pattern of password...
Also, my guess is most users don't have that pattern of password...
Another half an hour to deal with the IP address stuff.
But, I think the purpose of the video was to show how to use the requests library.
It's interesting to look at from the other perspective though, normally we're on the side trying to prevent malicious users and in this thread we're thinking as the 'malicious' user.
The "engineer" didn't check this, which he could have easily done by simply refreshing the page. But if the scammer did have any sort of protection, the engineer would have had a lot more work in it for him, having to scrape the page.. so maybe he purposely ignored this red flag.
But that’s just what my instincts tell me based on the time spent investigating, the amount of useful snippets, and the lack of typos and errors while coding.
Although I do think, for a learning video, that he missed out on a lot of opportunity to explain such things as I mentioned.
Also, there's some funny exposed PHP code sent along:
<?php
session_start();
?>
And some packed javascript that does nothing because it's "commented out" with <!-- ... --> inside the <script> tags, meaning it has syntax errors.