Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tests due to broken sites #2187

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ lib/
pyvenv.cfg
poetry.lock

# Regression Testing
.coverage
.tox/

# Editor Configurations
.vscode/
.idea/
Expand Down
14 changes: 14 additions & 0 deletions docs/removed-sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```
7 changes: 0 additions & 7 deletions sherlock/resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/{}",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_probes.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_known_positives_via_status_code(self, sites_info, site, username):
# 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
Expand Down
Loading