Skip to content

Instantly share code, notes, and snippets.

View powerexploit's full-sized avatar
🏠
Working from home

powerexploit powerexploit

🏠
Working from home
View GitHub Profile
@powerexploit
powerexploit / wikipy.py
Created September 24, 2019 14:43
Wikipedia scraping with python
#!/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 \
+ """
@powerexploit
powerexploit / Pygoogle.py
Created September 18, 2019 15:23
Google Search Result Scraper
#!/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()
@powerexploit
powerexploit / excel_checker.py
Created September 5, 2019 14:40
Script to read and show sheet of your excel file
#!/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)
@powerexploit
powerexploit / hackthebox.py
Last active September 14, 2019 13:17
Hackthebox invite code using python
#!/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)