Skip to content

Commit

Permalink
looks refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
YarBurArt committed Jul 24, 2024
1 parent fcb3f33 commit 1809245
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CN.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
http://183.233.177.152:85
http://218.17.185.106:91
http://61.161.192.107:2000
http://183.196.97.68:60001
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Hack Cameras

# CAM-HACKERS

<img src="https://github.com/AngelSecurityTeam/Cam-Hackers/blob/master/cap01new.jpg">
<img src="https://github.com/YarBurArt/Cam-API-Enhanced/blob/master/cap01new.jpg">

# CAM-HACKERS

<img src="https://github.com/AngelSecurityTeam/Cam-Hackers/blob/master/cap02new.jpg">
<img src="https://github.com/YarBurArt/Cam-API-Enhanced/blob/master/cap02new.jpg">

# CAM-HACKERS

Expand Down
19 changes: 9 additions & 10 deletions cam_hackers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def save_ips_to_file(country_f, ips):
for ip in ips:
print("\n\033[1;31m", ip)
f.write(f'{ip}\n')
print('\033[1;37m\n\033[37mSave File :'+country+'.txt')

BASE_URL = "http://www.insecam.org/en/jsoncountries/"
BYCOUNTRY_URL = "http://www.insecam.org/en/bycountry/"
Expand All @@ -43,13 +44,12 @@ def save_ips_to_file(country_f, ips):
countries = data['countries']

print("""
\033[1;31m\033[1;37m ██████╗ █████╗ ███╗ ███╗ ██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗
██╔════╝██╔══██╗████╗ ████║ ██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝
██║ ███████║██╔████╔██║█████╗███████║███████║██║ █████╔╝ █████╗ ██████╔╝███████╗
██║ ██╔══██║██║╚██╔╝██║╚════╝██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║
╚██████╗██║ ██║██║ ╚═╝ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║
\033[1;31m ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝
\033[1;31m ANGELSECURITYTEAM \033[1;31m\033[1;37m""")
\033[1;31m\033[1;37m .--. .--. .---. .-. .--. .-. .-.
: .--' : .; :: .; :: : : .--' : : : :
: : .--. ,-.,-.,-. _____ : :: _.': : _____ : `; ,-.,-.: `-. .--. ,-.,-. .--. .--. .-' :
: :__ ' .; ; : ,. ,. ::_____:: :: :: : : ::_____:: :__ : ,. :: .. :' .; ; : ,. :' ..'' '_.'' .; :
`.__.'`.__,_;:_;:_;:_; :_;:_;:_; :_; `.__.':_;:_;:_;:_;`.__,_;:_;:_;`.__.'`.__.'`.__.'
\033[1;31m ANGELSECURITYTEAM (YarBurArt edition) \033[1;31m\033[1;37m""")

for key, value in countries.items():
print(f'Code : ({key}) - {value["country"]} / ({value["count"]}) \n')
Expand All @@ -72,12 +72,11 @@ def save_ips_to_file(country_f, ips):
except UnicodeDecodeError as e:
print(f"Error decoding data: {e}")
sys.exit(1)
except KeyboardInterrupt:
sys.exit(0)
except Exception as e:
print(e)
print("\nSomething went wrong and now you have to deal with it, try python -v cam_hackers.py :)\n")
sys.exit(1)

finally:
print("\033[1;37m")
print('\033[37mSave File :'+country+'.txt')
sys.exit(0)
Binary file modified cap01new.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cap02new.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

0 comments on commit 1809245

Please sign in to comment.