This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#Scraping wikipedia page according to your command line input | |
import sys | |
import requests | |
import bs4 | |
RED = '\033[31m' | |
END = '\033[0m' | |
ascii_art = RED \ | |
+ """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Pygoogle.py -> Opens several Google search results | |
import sys | |
import requests | |
import webbrowser | |
import bs4 | |
print('Googling') | |
res = requests.get('http://google.com/search?q=' + ' '.join(sys.argv[1:])) | |
res.raise_for_status() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#excel_checker.py ->Script will read your excel file | |
import sys | |
import openpyxl | |
from os import getcwd | |
if len(sys.argv) > 2 : | |
a = getcwd() #getcwd() to find out current directory | |
print("Your current directory is : ",a) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#its hackthebox invite code script | |
# parse your encrypted code after with help of curl | |
# example : python hackthebox.py 'encrypted_code' | |
import base64 | |
import sys | |
s = sys.argv[1] | |
base = base64.b64decode(s + '=' * (-len(s)%4)) | |
print('This is your hackthebox invite code : ',base) |
NewerOlder