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
""" | |
Usage: | |
1. Go to https://takeout.google.com/ | |
2. Export Google Play Store history. | |
3. Download the zip file. | |
4. Extract to a folder. | |
5. Link to the path "\Takeout\Google Play Store\Purchase History.json" on line 64. | |
6. Run the code with python3 purchase_history.py DEBUG or python3 purchase_history.py app_name | |
""" |
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/env python3 | |
""" | |
1. Go to https://accountscenter.instagram.com/info_and_permissions/dyi/ | |
2. Select 'Request Download' | |
3. Select Followers & Following | |
4. Select 'All time' (default is 'Last Year') | |
5. Select 'Json' (default is 'HTML') | |
6. Download the data | |
7. Unzip and put this file into the same directory |
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
# Adapted from googlesearch-python | |
def findTerm(): | |
q = ['term1', 'term2', 'etc'] | |
d = open("google_results.txt","w",encoding='utf-8') | |
for query in q: | |
res = search(query, num_results=1, lang="ja") | |
print(res[0]) | |
d.write(res[0]) |
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
# 1. Get a JSON list of your friends from GET /api/present/friends | |
# サンプルデータ: [{"imageUrl":"https://profile.line-scdn.net/サンプル/large","name":"サンプル","midCrypted":"aVSDサンプル=="},{"imageUrl":"https://profile.line-scdn.net/サンプル2/large","name":"サンプル2",...省略...}] | |
# 2. Copy header and cookies from GET /api/present/friends/ | |
import json, requests, urllib3, time, sys | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
f = open("linefriends_mid.txt", "r", encoding="utf-8") | |
d = json.loads(f.read()) |
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
import tweepy | |
import sys | |
import os | |
cwd = os.getcwd() | |
this_dir = cwd + '/' | |
consumer_key ="redacted" | |
consumer_secret ="redacted" | |
access_token="redacted" |
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
start ms-settings:network-proxy |
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
import requests, json, sys | |
from datetime import date, timedelta | |
def findWord(): | |
servers = getServers() | |
keyword = sys.argv[1] | |
for i in range(0,len(servers)): | |
url = "https://discord.com:443/api/v8/guilds/"+str(servers[i])+"/messages/search?content="+keyword | |
headers = {"Authorization": "redacted"} |
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
netsh winsock reset | |
netsh int ip reset | |
ipconfig /release | |
ipconfig /renew | |
ipconfig /flushdns |
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 | |
import requests | |
import time | |
import random | |
proxies = {"http":"protocol://user:pass@ip:port"} # Requires requests[socks] if using SOCKS5 | |
steam64 = "" | |
for i in range(0,10): # 10 consecutive days | |
profile = "http://astats.astats.nl:80/astats/User_Info.php?SteamID64=" + steam64 |
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
#Add these to the top of your file | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) |
NewerOlder