mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-25 05:10:19 +00:00
Merge pull request #2187 from sherlock-project/fix-tests
Fixed tests due to broken sites
This commit is contained in:
commit
58df6bbc2b
4 changed files with 19 additions and 8 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -5,6 +5,10 @@ lib/
|
||||||
pyvenv.cfg
|
pyvenv.cfg
|
||||||
poetry.lock
|
poetry.lock
|
||||||
|
|
||||||
|
# Regression Testing
|
||||||
|
.coverage
|
||||||
|
.tox/
|
||||||
|
|
||||||
# Editor Configurations
|
# Editor Configurations
|
||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
|
|
|
@ -1867,4 +1867,18 @@ __2024-04-24 :__ BCF seems to have gone defunct. Uncertain.
|
||||||
"urlMain": "https://bitcoinforum.com",
|
"urlMain": "https://bitcoinforum.com",
|
||||||
"username_claimed": "bitcoinforum.com"
|
"username_claimed": "bitcoinforum.com"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Penetestit
|
||||||
|
|
||||||
|
As of 24.06.2024, Pentestit returns a 403. This is most likely due to a new site structures
|
||||||
|
|
||||||
|
```json
|
||||||
|
"labpentestit": {
|
||||||
|
"errorType": "response_url",
|
||||||
|
"errorUrl": "https://lab.pentestit.ru/{}",
|
||||||
|
"url": "https://lab.pentestit.ru/profile/{}",
|
||||||
|
"urlMain": "https://lab.pentestit.ru/",
|
||||||
|
"username_claimed": "CSV"
|
||||||
|
}
|
||||||
```
|
```
|
|
@ -2579,13 +2579,6 @@
|
||||||
"urlMain": "https://www.kwork.ru/",
|
"urlMain": "https://www.kwork.ru/",
|
||||||
"username_claimed": "blue"
|
"username_claimed": "blue"
|
||||||
},
|
},
|
||||||
"labpentestit": {
|
|
||||||
"errorType": "response_url",
|
|
||||||
"errorUrl": "https://lab.pentestit.ru/{}",
|
|
||||||
"url": "https://lab.pentestit.ru/profile/{}",
|
|
||||||
"urlMain": "https://lab.pentestit.ru/",
|
|
||||||
"username_claimed": "CSV"
|
|
||||||
},
|
|
||||||
"last.fm": {
|
"last.fm": {
|
||||||
"errorType": "status_code",
|
"errorType": "status_code",
|
||||||
"url": "https://last.fm/user/{}",
|
"url": "https://last.fm/user/{}",
|
||||||
|
|
|
@ -45,7 +45,7 @@ class TestLiveTargets:
|
||||||
# Known positives should only use sites trusted to be reliable and unchanging
|
# Known positives should only use sites trusted to be reliable and unchanging
|
||||||
@pytest.mark.parametrize('site,username',[
|
@pytest.mark.parametrize('site,username',[
|
||||||
('BodyBuilding', 'blue'),
|
('BodyBuilding', 'blue'),
|
||||||
('labpentestit', 'CSV'),
|
('devRant', 'blue'),
|
||||||
])
|
])
|
||||||
def test_known_positives_via_response_url(self, sites_info, site, username):
|
def test_known_positives_via_response_url(self, sites_info, site, username):
|
||||||
assert simple_query(sites_info=sites_info, site=site, username=username) is QueryStatus.CLAIMED
|
assert simple_query(sites_info=sites_info, site=site, username=username) is QueryStatus.CLAIMED
|
||||||
|
|
Loading…
Reference in a new issue