Merge pull request #2187 from sherlock-project/fix-tests

Fixed tests due to broken sites
pull/2188/head
Siddharth Dushantha 5 months ago committed by GitHub
commit 58df6bbc2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
.gitignore vendored

@ -5,6 +5,10 @@ lib/
pyvenv.cfg
poetry.lock
# Regression Testing
.coverage
.tox/
# Editor Configurations
.vscode/
.idea/

@ -1867,4 +1867,18 @@ __2024-04-24 :__ BCF seems to have gone defunct. Uncertain.
"urlMain": "https://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/",
"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": {
"errorType": "status_code",
"url": "https://last.fm/user/{}",

@ -45,7 +45,7 @@ class TestLiveTargets:
# Known positives should only use sites trusted to be reliable and unchanging
@pytest.mark.parametrize('site,username',[
('BodyBuilding', 'blue'),
('labpentestit', 'CSV'),
('devRant', 'blue'),
])
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

Loading…
Cancel
Save