94 points · by pavel_lishin · 8y ago · 53 comments
In all likelihood he tries every single entry he gets against the top 100 juiciest sites (banking, email, etc), and records all successful hits.
$ python3
>>> 1/2
0.5
VS $ python2.7
>>> 1/2
0
which can cause a great load of bugs if you're just porting some existing code.#!/usr/bin/env python3
I bet your Python2 script will run on Python3.
Besides the obvious things like print, which will just cause an error, there's behavioral changes, like with division and range, that may introduce more insideous bugs.
Better to read up on the difference first and use a tool.
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.
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.
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.Although I do think, for a learning video, that he missed out on a lot of opportunity to explain such things as I mentioned.
'very common name' + 1 digit @yahoo.com generates a list almost completely of real email addresses...
Spammers don't care about cleaning their lists... So he just helped the spammer do his job, involving a few hundred unrelated victims.
Other posters talking about password reuse are really confused, there’s essentially no chance someone would waste sms spam on such a silly venture.
#2600