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
<?php | |
$out = shell_exec('cat /etc/passwd'); | |
echo $out; | |
?> |
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
---------------------------------------- | |
---------- Scan Loud Sky room ---------- | |
---------------------------------------- | |
-- Instructions: | |
-- . Change Coord descriptors | |
-- to match yours (X and Y might be swapped) | |
-- . Change output file directory | |
-- . Change scan settings | |
-- | |
-- made by @kabukki |
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
export const wait = (delay) => new Promise((resolve) => setTimeout(resolve, delay)); | |
export const retry = async (operation: () => Promise<unknown>, options: any = {}) => { | |
const { retries, delay, onError = () => {} } = options; | |
return operation() | |
.catch((err) => { | |
if (retries > 0) { | |
onError(err, retries); | |
return wait(delay).then(() => retry(operation, { ...options, retries: retries - 1 })); |
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 { useRef, useState } from 'react'; | |
export type EasingFunction = (progress: number) => number; | |
export type InterpolateFunction <T> = (a: T, b: T) => (time: number) => T | |
/** | |
* Returns a state that can be tweened with an interpolator and easing function. | |
* - https://d3js.org/d3-interpolate | |
* - https://d3js.org/d3-ease | |
*/ |