Skip to content

Instantly share code, notes, and snippets.

@dongri
Last active June 14, 2020 21:06
Show Gist options
  • Save dongri/29044877f1c9c0660ee794176c42f909 to your computer and use it in GitHub Desktop.
Save dongri/29044877f1c9c0660ee794176c42f909 to your computer and use it in GitHub Desktop.
hello github-japan.com
#!/bin/sh
base="https://github-japan.com";
paths=("/attempts.php" "/norepos.php" "/submit.php");
for path in "${paths[@]}"; do
for i in {0..1000}; do
username=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 6 | head -n 1)
password=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
curl -XPOST -d "user=$username&pass=$password" $base$path;
echo "curl user=$username&pass=$password" $base$path;
done
done
# https://github-japan.com/main2.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment