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
# get from https://www.linkgrupwa.link/ just for check the invite url still valid or not | |
# if active will be save it to file | |
import requests | |
import re | |
import json | |
session = requests.Session() | |
session.headers["user-agent"] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" | |
ok, no = 1, 1 | |
if (feed := list(dict.fromkeys([x["link"][-1]["href"] for x in json.loads(re.search(r"(?<=findPostDate\()(.*?)(?=\);)", session.get(f"https://www.linkgrupwa.link/feeds/posts/summary", params={"start-index": "1", "max-results": "100", "alt": "json-in-script", "callback": "findPostDate"}).text).group(1))["feed"]["entry"]]))): |
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
""" | |
here you can get list world for variable names | |
""" | |
import requests | |
import re | |
from urllib.parse import urlparse | |
def animal(f): | |
if (indoAnimal := re.findall(r"(?<=\">)([\w+]*?)(?=<\/a><\/td>)", requests.get("https://foresteract.com/daftar-nama-hewan-binatang-di-indonesia/").text)): | |
f.write("\n".join(map((lambda x: x.lower().strip()),indoAnimal)) + "\n") |
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
<?php | |
/* | |
this to replace all php ascii variable to human readable | |
author: motebaya | |
gihtub.com/motebaya | |
*/ | |
function utf8($utf){ | |
return iconv('UTF-8', 'ISO-8859-1', $utf); | |
} |
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
<?php | |
/* | |
here source https://stackoverflow.com/questions/32393232/php-rename-all-variables-inside-code | |
*/ | |
function clearvar($file, $out) | |
{ | |
$tokens = token_get_all(file_get_contents($file)); | |
$globals = array('$GLOBALS', '$_SERVER', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_REQUEST', '$_ENV'); | |
$registry = get_defined_functions(); | |
$registry = $registry['internal']; |
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
<?php | |
/* | |
https://github.com/nikic/PHP-Parser/blob/master/doc/2_Usage_of_basic_components.markdown | |
https://github.com/nikic/PHP-Parser/blob/master/doc/component/Pretty_printing.markdown | |
*/ | |
require "vendor/autoload.php"; | |
use PhpParser\ParserFactory; | |
use PhpParser\PrettyPrinter; | |
if (count($argv) > 1) { |
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
javascript: window.open(decodeURIComponent(document.body.innerHTML.match(/(?<=\/video\_redirect\/\?src\=)(.*?)(?=\")/)[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
<?php | |
/// just for extract phar compiler | |
function extractPhar($file){ | |
(new Phar($file))->extractTo(__DIR__); | |
} | |
// check argc | |
if (count($argv) < 2) { | |
die("usage: decode.php <file.php>"); |
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
/* | |
davins; (t.me/dvinchii) | |
date: new Date() => { | |
Sat Sep 17 2022 21:33:37 GMT+0700 (Western Indonesia Time) | |
} | |
*/ | |
async function getdata(){ | |
return new Promise((resolve, reject) => { | |
let data = {}; | |
if (document.readyState == "complete"){ |
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
/* | |
file tester with node js oop | |
help from: | |
https://stackoverflow.com/questions/9071573/is-there-a-simple-way-to-make-a-random-selection-from-an-array-in-javascript-or | |
https://stackoverflow.com/questions/951021/what-is-the-javascript-version-of-sleep | |
https://stackoverflow.com/questions/18188083/javascript-oop-in-nodejs-how | |
*/ | |
class Tester { |
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
<?php | |
/* | |
i convert it from js to python then from python to php LOL | |
credit: github.com/motebaya | |
*/ | |
class Decoder | |
{ | |
private $content; |
OlderNewer