This file contains 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
// ==UserScript== | |
// @name Client Link - Opensearch | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-03-31 | |
// @description Generate Client link for some clients only for now (list below) | |
// @author HNA | |
// @match https://dashboard.mysoc.io/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=advens.fr | |
// @grant none | |
// @run-at document-start |
This file contains 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
// 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)) { |
This file contains 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 | |
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 !!!! |
This file contains 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 | |
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 | |
''' |