[Dotgnu-general] A script to find all (Players) and (Messages of the Day) a minecraft server has.

Matthias Zimmerman <[email protected]> Thu, 23 Jun 2016 17:34:37 -0700
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <CAAWcTQC3gy-oaSjoKb0WDjpnrenB6qV5mCZfQESTPz8KHZaBwA@mail.gmail.com>
--===============5896370839364164571==
Content-Type: multipart/alternative; boundary=001a11416118ea8fb70535fb552c

--001a11416118ea8fb70535fb552c
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

A script i wrote to find the players on any minecraft server by pinging it
has just found the 1337est player on 2b2t.org:25565

I wrote a script to list the players on a server from the player sample in
each ping.

I ran it on 2b2t.org and have now found the 1337est player on that server,
or the 1337th player unique player that i noticed.

The leetest player on 2b2t is officialy(by me) (2b2t)_Kirbzz
and he was the
"(2b2t)#1337th"
that joined the server!!

PS:This is the oneliner
while true; do touch loop; echo -en "\x07\0\xd2\x01\x00c\xd9\x01\x01\x00" |
nc 2b2t.org 25565 | perl -pe 's/\":\"/\n/g ,s/"}/\xff\n/g , s/ //g,
s/(")(=C2=A7)//g' | grep --color=3Dauto --color=3Dauto -a -B 2 name | perl =
-pe
'print grep { $_ =3D~ /\xff/ } <>' | grep --color=3Dauto --color=3Dauto -aE
 "^.+$(echo -ne '\xff')" | perl -pe 's/\xff//g' | xargs -n 13 bash -c
'chmod +x *;echo 1 >$0&echo 1 >$1&echo 1 >$2&echo 1 >$3&echo 1 >$4&echo 1
>$5&echo 1 >$6&echo 1 >$7&echo 1 >$8&echo 1 >$9&shift 1;echo 1 >$9;shift
2;echo 1 >$9;find ! -executable';if test "$((0x$(head -c1 /dev/urandom|xxd
-ps)%128))" =3D "0";then echo #$(ls -l|wc -l;fi)th;done | xargs -n 1 bash -=
c
'echo (2b2t)$0'

PPS:If anyone feels they want to improve it, go ahead but please, send me a
copy at matthias291999(at)gmail(dot)com

--001a11416118ea8fb70535fb552c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">A script i wrote to find the players on any minecraft serv=
er by pinging it has just found the 1337est player on <a href=3D"http://2b2=
t.org:25565">2b2t.org:25565</a><div><br></div><div>I wrote a script to list=
 the players on a server from the player sample in each ping.</div><div><br=
></div><div>I ran it on <a href=3D"http://2b2t.org">2b2t.org</a> and have n=
ow found the 1337est player on that server, or the 1337th player unique pla=
yer that i noticed.</div><div><br></div><div>The leetest player on 2b2t is =
officialy(by me) (<span style=3D"color:rgb(0,0,0);font-family:monospace">2b=
2t)_Kirbzz</span></div><div><span style=3D"color:rgb(0,0,0);font-family:mon=
ospace">and he was the=C2=A0</span></div><div><span style=3D"color:rgb(0,0,=
0);font-family:monospace">&quot;(</span><span style=3D"color:rgb(0,0,0);fon=
t-family:monospace">2b2t</span><span style=3D"color:rgb(0,0,0);font-family:=
monospace">)#1337th&quot;</span></div><div><span style=3D"color:rgb(0,0,0);=
font-family:monospace">that joined the server!!</span></div><div><span styl=
e=3D"color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span st=
yle=3D"color:rgb(0,0,0);font-family:monospace">PS:This is the oneliner</spa=
n></div><div><span style=3D"font-family:monospace"><span style=3D"color:rgb=
(0,0,0)">while true; do
</span>touch loop; echo -en &quot;\x07\0\xd2\x01\x00c\xd9\x01\x01\x00&quot;=
 | nc <a href=3D"http://2b2t.org">2b2t.org</a> 25565 | perl -pe &#39;s/\&qu=
ot;:\&quot;/\n/g ,s/&quot;}/\xff\n/g , s/ //g, s/(&quot;)(=C2=A7)//g&#39; |=
 grep --color=3Dauto --color=3Dauto -a -B=C2=A02 name | perl -pe &#39;print=
 grep { $_ =3D~ /\xff/ } &lt;&gt;&#39; | grep --color=3Dauto --color=3Dauto=
 -aE =C2=A0&quot;^.+$(echo -ne &#39;\xff&#39;)&quot; | perl -pe &#39;s/\xff=
//g&#39; | xargs -n 13 bash -c &#39;chmod +x *;echo 1 &gt;$0&amp;echo 1 &gt=
;$1&amp;echo 1 &gt;$2&amp;echo 1 &gt;$3&amp;echo 1 &gt;$4&amp;echo 1 &gt;$5=
&amp;echo 1 &gt;$6&amp;echo 1 &gt;$7&amp;echo 1 &gt;$8&amp;echo 1 &gt;$9&am=
p;shift 1;echo 1 &gt;$9;shift 2;echo 1 &gt;$9;find ! -executable&#39;;if te=
st &quot;$((0x$(head -c1 /dev/urandom|xxd -ps)%128))&quot; =3D &quot;0&quot=
;;then echo #$(ls -l|wc -l;fi)th;done | xargs -n 1 bash -c &#39;echo (2b2t)=
$0&#39;<br></span></div><div><span style=3D"font-family:monospace"><br></sp=
an></div><div><span style=3D"font-family:monospace">PPS:If anyone feels the=
y want to improve it, go ahead but please, send me a copy at matthias291999=
(at)gmail(dot)com</span></div></div>

--001a11416118ea8fb70535fb552c--


--===============5896370839364164571==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dotgnu-general mailing list
Dotgnu-general-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/dotgnu-general

--===============5896370839364164571==--