Skip to content

Instantly share code, notes, and snippets.

View n0sys's full-sized avatar
💻
Pwning ..

Hanna Nassar n0sys

💻
Pwning ..
View GitHub Profile
@n0sys
n0sys / linkedin.py
Last active June 29, 2023 13:35
Python3 script to find out who unfollowed you on Linkedin :)
import requests
import json
import hashlib
import time
'''
1) $ curl "https://gist.githubusercontent.com/n0sys/f8796b8cbdacafe3923aa9b3a7d4fe02/raw/ea776055d0a08818bf7720b1da9fb4258ecbd04f/linkedin.py" -o linkedin.py
2) Login to linkedin then check your cookies: Get the values of cookies "li_at" and "JSESSIONID" then add them to the script below
3) $ python3 linkedin.py
'''
@n0sys
n0sys / Instagram.py
Last active March 29, 2023 21:27
Script to find out who doesn't follow you back on Instagram
import requests
import json
import hashlib
from bs4 import BeautifulSoup
import re
import time
'''
Login to instagram and add the requested cookies to the script below
!!!! USE AT YOUR OWN RISK !!!!
// wait for element to load
// This is NOT my code, source : https://stackoverflow.com/a/61511955
function waitForElm(selector) {
return new Promise(resolve => {
if (document.querySelector(selector)) {
return resolve(document.querySelector(selector));
}
const observer = new MutationObserver(mutations => {
if (document.querySelector(selector)) {