Skip to content

Commit 58df6bb

Browse files
authored
Merge pull request #2187 from sherlock-project/fix-tests
Fixed tests due to broken sites
2 parents 94b0afa + e8569b6 commit 58df6bb

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ lib/
55
pyvenv.cfg
66
poetry.lock
77

8+
# Regression Testing
9+
.coverage
10+
.tox/
11+
812
# Editor Configurations
913
.vscode/
1014
.idea/

docs/removed-sites.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,4 +1867,18 @@ __2024-04-24 :__ BCF seems to have gone defunct. Uncertain.
18671867
"urlMain": "https://bitcoinforum.com",
18681868
"username_claimed": "bitcoinforum.com"
18691869
}
1870+
```
1871+
1872+
## Penetestit
1873+
1874+
As of 24.06.2024, Pentestit returns a 403. This is most likely due to a new site structures
1875+
1876+
```json
1877+
"labpentestit": {
1878+
"errorType": "response_url",
1879+
"errorUrl": "https://lab.pentestit.ru/{}",
1880+
"url": "https://lab.pentestit.ru/profile/{}",
1881+
"urlMain": "https://lab.pentestit.ru/",
1882+
"username_claimed": "CSV"
1883+
}
18701884
```

sherlock/resources/data.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,13 +2579,6 @@
25792579
"urlMain": "https://www.kwork.ru/",
25802580
"username_claimed": "blue"
25812581
},
2582-
"labpentestit": {
2583-
"errorType": "response_url",
2584-
"errorUrl": "https://lab.pentestit.ru/{}",
2585-
"url": "https://lab.pentestit.ru/profile/{}",
2586-
"urlMain": "https://lab.pentestit.ru/",
2587-
"username_claimed": "CSV"
2588-
},
25892582
"last.fm": {
25902583
"errorType": "status_code",
25912584
"url": "https://last.fm/user/{}",

tests/test_probes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_known_positives_via_status_code(self, sites_info, site, username):
4545
# Known positives should only use sites trusted to be reliable and unchanging
4646
@pytest.mark.parametrize('site,username',[
4747
('BodyBuilding', 'blue'),
48-
('labpentestit', 'CSV'),
48+
('devRant', 'blue'),
4949
])
5050
def test_known_positives_via_response_url(self, sites_info, site, username):
5151
assert simple_query(sites_info=sites_info, site=site, username=username) is QueryStatus.CLAIMED

0 commit comments

Comments
 (0)