3 ms·
set -x; M="GET"; V="HTTP/1.1"; H="host: twitter.com"; I="104.244.42.1:443"; I="104.244.42.193:4
by 1vuio0pswjnm7 6y ago
set -x;
M="GET";
V="HTTP/1.1";
H="host: twitter.com";
I="104.244.42.1:443";
I="104.244.42.193:443";
I="104.244.42.65:443";
I="104.244.42.129:443";
S+(){ printf "%s\n%s\n%s\n%s\n%s\n" "pid=$HOME/1.pid" "[ $$ ]" "accept=127.0.0.7:80" "client=yes" "connect=$I"|stunnel -fd 0;};
S-(){ kill -9 $(cat $HOME/1.pid);};
N(){ nc -n 127.7 80;}
C="connection: close";
A="authorization: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA";
S+;x=$(printf "%s %s %s\r\n%s\r\n%s\r\n\r\n" "$M" "/" "$V" "$H" "$C"|N|grep -o "gt=[^;]*"|sed 's/gt=//');
T="x-guest-token: $x";
P1="/i/api/graphql/Vf8si2dfZ1zmah8ePYPjDQ/UserByScreenNameWithoutResults?variables=%7B%22screen_name%22%3A%22$1%22%2C%22withHighlightedLabel%22%3Atrue%7D";
y=$(printf "%s %s %s\r\n%s\r\n%s\r\n%s\r\n%s\r\n\r\n" "$M" "$P1" "$V" "$H" "$A" "$T" "$C"|N|grep -o "rest_id\":\"[^\"]*"|sed 's/.*\"//');
P2="/i/api/graphql/Bn2jPG0Cy8VAOakAoyV_kA/UserTweets?variables=%7B%22userId%22%3A%22$y%22%2C%22count%22%3A500%2C%22withHighlightedLabel%22%3Atrue%2C%22withTweetQuoteCount%22%3Atrue%2C%22includePromotedContent%22%3Atrue%2C%22withTweetResult%22%3Afalse%2C%22withUserResults%22%3Afalse%2C%22withVoice%22%3Afalse%2C%22withNonLegacyCard%22%3Atrue%2C%22withBirdwatchPivots%22%3Afalse%7D";
set +x;printf "%s %s %s\r\n%s\r\n%s\r\n%s\r\n%s\r\n\r\n" "$M" "$P2" "$V" "$H" "$T" "$A" "$C"|N;S-;