krap
Members-
Content Count
208 -
Joined
-
Last visited
Everything posted by krap
-
Here is the script: <html><head><title>Rcon Connection Client</title></head><body><form name="rcon" method="post" action="rcon.php">IP: <input type="text" name="ip" value="127.0.0.1">Port: <input type="text" name="port" value="7777">Password <input type="text" name="pass" size="25"><br>Cmd: <input type="text" name="cmd" size="100"><br><input type="submit" name="submit"></form></body></html><? $ip = $_POST['ip']; if (!$ip) die(); $port = $_POST['port']; if (!$port) die(); $pass = $_POST['pass']; if (!$pass) die(); $passlen = strlen($pass); $cmd = $_POST['cmd']; if (!$cmd) die(); $cmdlen = strlen($cmd); $packet = 'SAMP'; $packet .= chr(strtok($ip, '.')).chr(strtok('.')).chr(strtok('.')).chr(strtok('.')); $packet .= chr($port & 0xFF).chr($port >> 8 & 0xFF); $packet .= "x"; $packet .= chr($passlen & 0xFF).chr($passlen >> 8 & 0xFF).$pass; $packet .= chr($cmdlen & 0xFF).chr($cmdlen >> 8 & 0xFF).$cmd; $fp =fsockopen('udp://' . $ip, $port, $errno, $errstr); fwrite($fp, $packet); while(!feof($fp)) { $str=fread($fp,128); $str=substr($str,13,strlen($str)-13); if (!$str) break; echo $str."<br>"; } fclose($fp);?> It seems to work for some other people on different hosts and I've tried on both my websites (one is on alpha, the other on iota) and it doesn't seem to be working. It is a remote control script for the game server I run and it just times out after 60 secs without executing the command on the server I am of course replacing the default 127.0.0.1, I know that wouldn't work and I've tested it on another host and it worked fine.ThanksAndre
-
well at the moment ive got DEL "k:\music\*.mp3"CD c:\musiccopy *.mp3 "K:\Music"EXIT C:\ is my computer () and K:\ is my mp3 player.the reason im deleting everything first is because if i dont like a song i'll delete it on my computer and i want my mp3 not to have it either. im too lazy to go through my mp3 player and find all the bad songs.Anyway, this is taking too long so i would need something that would check every song on the mp3 player to see if there is a copy of that song on the computer. if not, then delete. then it'd have to do the reverse which would be check every song on the computer to see if there is a copy of that song on the mp3 player. if not, then copy.is it possible with batch files?thanks:P
-
It's true that we won't use most of the things we learn at school later on in life but you need qualifications to get a job. And to get them you need to study for your exams.
-
Is My Height Normal For My Age? 56 12 yr old Is This Normal?
krap replied to Mermaid711's topic in Health & Fitness
wow im 16 and i dont think anyone in my year at school is that tall @Mermaid711 you will probably be taller than most girls when you're older but if you were to stop growing now/soon you would only be taller than short guys. not everyone starts/stops growing at the same time. -
well next week are my GCSE exams and i have to admit i'm a bit nervous.. i hope i do well :)after my exams i will be going to sixth form and maybe after that university. the work gets harder and responsibilty is becoming greater. when i get a job it'll be longer hours and even more responsibility - bills, rent - all the adult stuff.i complained about school for so long but when im an adult it will seem way better :)im sure most of people here moaning about school will miss it too.
-
You dont HAVE to..With the 360 you have a choice but when you buy the ps3 they force you to buy a Blu-Ray drive as well.. I haven't got an HDTV.. I've got a normal TV and the 360 works on it though i dont see high def obviously.. When I get an HDTV I could get the hddvd drive so I could watch movies through the 360 instead of buying a mega expensive HDDVD player With the PS3 I'd be buying the blu ray just to play the games and it'd be useless to me for blu ray movies because i'd only see dvd quality on my TV
-
wow. this seems like something that would be really fun *saves wikibook* hehe i'll post here when i get my first one (i'm optimistic)
-
What Would You Walk On Rather? Random Poll V1.4
krap replied to Donegal's topic in General Discussion
who would want to walk on broken glass or hot coals?? ok, walking on poo might not be that fun but at least it doesnt hurt -
someone told me once to make a bmp and rename it as .ico and that seemed to work
-
What Is The Weirdest Thing You Eat? regularly or occasionally.
krap replied to arnz's topic in General Discussion
wow looks like some people eat some really weird stuff here.i dont really like trying new food because it might be nasty something very weird i eat was this chocolate alternative called carab (i think). and it tastes nothing like chocolate. eugh disgusting -
i think after graphics become so similiar to real life nobody can tell the difference, the only way to go would be virtual reality with you being in the game rather than looking at it.. and then there would be virtual worlds where you could interact with people like in real life.. sort of like the matrix but without the evil robots, hopefully
-
Connect To Internet Using Your Cell Phone cell/mobile phone as a modem
krap replied to Chatz's topic in Computer Networks
im using my 3g phone as modem (unlimited data) until i get broadband.Surfing the internet is quite fast and i can use bittorrent with quite fast download speed of 45kbps max.. only problem is just 9kbps upload and if you are using more than 2kbps of it your download speed goes down which means my share ratio isnt very good ..as soon as i get my broadband i'll leave my pc on til i get at least 1.0 -
are you sure?? either he doesn't feel pain or your whole school is really weak as you said lol. i know if i kept punching someone they wouldn't laugh and remember: nobody laughs when they're KO'd (tho i wouldn't recommmend that as you could get in alot of trouble )
-
that makes no sense at all you would need a really bad pc (just 64mb of ram) or would need to be quite clever (more than 128) to not be a hacker according to that
-
keep on punching him in the mouth until he stops laughing or ignore him lol
-
$100?! lool i think i'll just save my money and get a hdtv :lol:thanks anyway
-
some lucky people have unlimited data plan so you should IMO provide a site with graphics as on most phones with wap, images can be turned off in settings menu (if that person is paying per kb)or you could make a menu at the start with 2 options. Text OR Text and Images
-
Opera can view WML/WAP pages without plugins :)And I can confirm that you can put WML files or even PHP with WML output on here and it will work because I did it myself when I was hosted Now I'm just here to pass the time hehe..And MIDI files work too.But with all this advanced mobile technology you should put MP3s as ringtones if you are hosting them.. Or WAV/AMR.. I think MP3s aren't allowed here.. (maybe the rules changed since 2 years ago)
-
Hi,I've recentley got myself an xbox 360 but unfortunatley my TV isnt an HDTV (getting one soon) so I can't play in HD which I've heard is much better.Luckily, my laptop is 1080p HD and has got a large screen (for a laptop) but I don't know how to connect them :)Any ideas?Thanks in advance
-
i think its quite good but i still prefer the current one (icons for everything looks better than just 6)
-
My laptop: Sony VAIO VGN-AR11s (from cnet.co.uk)
-
There's no way anybody could crack that IMO even this would be enough: <?php$hash = md5($password . $user_id);?>Because those databases won't have every word combined with every number
-
Yeah some rap like 50 Cent's gives all rap a bad name because all he raps about is guns, killing.. etc. but i've listened to stuff like that for ages and i still haven't felt any desire to buy a gun and kill loads of people hehehe.