# 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 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 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 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 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 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 './App.css'; | |
import React, { useState, useEffect } from 'react'; | |
function App() { | |
const [ loader, setloader ] = useState(true); | |
useEffect(() => { | |
setTimeout(() => setloader(false),1000) | |
}, []); |
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
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", |