rohff691
Member
- Oct 7, 2019
- 11
- 396
# Grab and install imagemagick (for image manipulation), jhead (jpg metadata manipulation), and uuidgen (for random name generation)
sudo apt install --no-install-recommands jhead imagemagick uuidgen
# go to the directory with your images
cd /path/to/your/images
# resize your images to get rid of any [URL='https://en.wikipedia.org/wiki/Steganography']steganographic information[/URL]
mogrify -resize <TARGET_WIDTH>x -quality 100 -path /path/to/your/output/directory *.jpg
# cd to your output directory
cd /path/to/you/output/directory
# file off any metadata in your images and just to be paranoid lets shave off the filenames too
for i in *; do jhead -purejpg $i; mv $i $(uuidgen -r).jpg; done
// ==UserScript==
// @name *** Bypass
// @namespace http://tampermonkey.net/
// @version 0.4.5
// @description Bypass links that cannot be bypassed by Universal Bypass
// @author FireMasterK
// @match *://*.***.com/*
// @match *://*.***.net/*
// @match *://*.***.download/*
// @match *://*.*No url shorteners*/*
// @match *://*.*No url shorteners*/*
// @match *://*.***/*
// @match *://*.*No url shorteners*/*
// @grant GM.xmlHttpRequest
// ==/UserScript==
let search_params = new URLSearchParams(window.location.search);
if (search_params.get("r") !== null) {
window.location = atob(decodeURIComponent(search_params.get("r")));
} else {
// iframe check
if (window.parent.location != window.location) { return }
// check if page is download page
let re_download = /^\/download(\/[0-9]+\/[^\/]+)\//;
let is_download = re_download.exec(window.location.pathname);
if (is_download !== null) {
window.location.pathname = is_download[1];
return;
}
var paths = ["/captcha", "/countdown_impression?trafficOrigin=network", "/todo_impression?mobile=true&trafficOrigin=network"]
paths.map(path => {
GM.xmlHttpRequest({
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1"
},
url: "https://publisher.***.com/api/v1/redirect/link" + window.location.pathname + path
});
})
let o = {
timestamp: new Date().getTime(),
random: "6548307"
};
var bypass_url = "https://publisher.***.com/api/v1/redirect/link/static" + window.location.pathname;
GM.xmlHttpRequest({
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1"
},
url: bypass_url,
onload: function (response) {
var json = JSON.parse(response.responseText);
o.link_id = json.data.link.id
o = { serial: btoa(JSON.stringify(o)) }
bypass_url = "https://publisher.***.com/api/v1/redirect/link" + window.location.pathname + "/target?X-***-UT=" + localStorage.getItem("X-***-UT");
GM.xmlHttpRequest({
method: "POST",
headers: {
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1",
"Content-Type": "application/json"
},
data: JSON.stringify(o),
url: bypass_url,
onload: function (response) {
var json = JSON.parse(response.responseText);
window.location = json.data.target;
}
});
}
});
}