Created
March 16, 2023 07:54
-
-
Save widhisec/bf238496e13447a6929652a7520a3eb8 to your computer and use it in GitHub Desktop.
instagram login
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
WAKTU=$(date +%s%N|cut -b1-13) | |
uuid=$(od -x /dev/urandom | head -1 | awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}') | |
curl -s -k -X $'POST' \ | |
-H $'User-Agent: Instagram 265.0.0.19.301 Android (28/9; 240dpi; 720x1280; OnePlus; ONEPLUS A5000; OnePlus5; qcom; en_US)' \ | |
--data-urlencode "enc_password=#PWD_INSTAGRAM_BROWSER:0:${WAKTU}:$2" \ | |
--data-urlencode "username=$1" \ | |
--data-urlencode "device_id=android-${uuid}" \ | |
--data-urlencode "login_attempt_count=0" \ | |
$'https://i.instagram.com/api/v1/accounts/login/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment