Downloader fix. (once again)

This commit is contained in:
cora32 2015-04-02 21:16:50 +03:00
parent ad036ca03a
commit 886fa0aa02
6 changed files with 2 additions and 116 deletions

View File

@ -36,7 +36,8 @@ void checkWeb(const char *fileName, std::string *oldLM) {
if(lm.compare(*oldLM) != 0) {
*oldLM = lm;
std::string res(buffer.substr(buffer.find("\r\n\r\n") + 4).c_str());
std::replace(res.begin(), res.end(), '\r', '\n');
//std::replace(res.begin(), res.end(), '\r', '\n');
res.erase(std::remove(res.begin(), res.end(), '\r'), res.end());
std::ofstream out(fileName);
out << std::string(res);
out.close();

View File

@ -1,55 +1,28 @@
admin
root
123123
123456
12345
cisco
super
meinsm
monitor
test
ftp
1234
administrator
qwerty
recovery
Polycom
system
naadmin
telecom
dreambox
master
Admin
guest
backup
cgadmin
0000
1111

View File

@ -1,105 +1,53 @@
root
admin
password
123456
1234
12345
ADMIN
cisco
ftp
ROOT
123123
pass
passwd
qwerty
meinsm
monitor
user
test
sysadm
admin123
Admin
123321
12344321
toor
qwerty123
1q2w3e4r
987654321
system
telecom
dreambox
111111
1111
654321
!@#$%^
0000
000000
master
12345678
666666
123123123
123454321
0123456789
qqqqqq
administrator
sys
guest
backup
fujiyama
super
P@ssw0rd
passw0rd

View File

@ -1,51 +1,26 @@
hw230f8034t:17932yhf823
root:root
root:admin
admin:admin
admin:root
backup:backup
guest:guest
root:master
root:1234
admin:master
admin:111111
root:12345
root:123456
admin:1234
admin:12345
root:12345678
root:123123
admin:123456
admin:12345678
root:654321
admin:123123
admin:654321
root:password
admin:pasword
root:1qazXSW@
test:test

View File

@ -1,5 +1,3 @@
[FAIL]
admin
root

View File

@ -1,19 +1,10 @@
[FAIL]
admin
root
pass
password
toor
123123
123456
12345
qwerty