From a774a639d4388e8b38f08d0d42e4495257790c4d Mon Sep 17 00:00:00 2001 From: Siddharth Dushantha Date: Mon, 24 Jun 2024 12:27:06 +0200 Subject: [PATCH 1/3] removed Pentestit + fixed tests --- docs/removed-sites.md | 14 ++++++++++++++ sherlock/resources/data.json | 7 ------- tests/test_probes.py | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/removed-sites.md b/docs/removed-sites.md index ed02655..11b2311 100644 --- a/docs/removed-sites.md +++ b/docs/removed-sites.md @@ -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" + } ``` \ No newline at end of file diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json index 6633e64..fe3f161 100644 --- a/sherlock/resources/data.json +++ b/sherlock/resources/data.json @@ -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/{}", diff --git a/tests/test_probes.py b/tests/test_probes.py index 39e0ef0..3dbe3a4 100644 --- a/tests/test_probes.py +++ b/tests/test_probes.py @@ -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'), + ('kofi', 'yeahkenny'), ]) 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 From d3998faf599af736a92c0ab03c6354217950b47b Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 24 Jun 2024 15:20:14 -0400 Subject: [PATCH 2/3] Try devRant --- tests/test_probes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_probes.py b/tests/test_probes.py index 3dbe3a4..06f8e3c 100644 --- a/tests/test_probes.py +++ b/tests/test_probes.py @@ -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'), - ('kofi', 'yeahkenny'), + ('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 From e8569b6f2c9b3aa6633e2ca1cb3488f6a42d1686 Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 24 Jun 2024 15:21:15 -0400 Subject: [PATCH 3/3] Ignore test files --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index c53e34a..59ab513 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,10 @@ lib/ pyvenv.cfg poetry.lock +# Regression Testing +.coverage +.tox/ + # Editor Configurations .vscode/ .idea/