• Welcome to Valhalla Legends Archive.
 

[PHP] Bot Srry Locked the other on accident

Started by AC_Drkan, June 04, 2005, 12:12 AM

Previous topic - Next topic

AC_Drkan

IT WORKS. I DIDN'T THINK IT WOULD BUT IT DOES.

BNet Side:
[00:31:29] Qu3#2 joined the channel using a chat bot.
[00:33:11] <Qu3#2> ::..:: 0 ::..::
[00:35:12] <Qu3#2> ::..:: 1 ::..::
[00:37:13] <Qu3#2> ::..:: 2 ::..::
[00:39:14] <Qu3#2> ::..:: 3 ::..::
[00:41:14] <Qu3#2> ::..:: 4 ::..::
[00:43:15] <Qu3#2> ::..:: 5 ::..::
[00:45:16] <Qu3#2> ::..:: 6 ::..::
[00:47:17] <Qu3#2> ::..:: 7 ::..::
[00:49:18] <Qu3#2> ::..:: 8 ::..::
[00:51:19] <Qu3#2> ::..:: 9 ::..::
[00:53:20] <Qu3#2> ::..:: 10 ::..::
[00:55:20] <Qu3#2> ::..:: 11 ::..::
[00:57:21] <Qu3#2> ::..:: 12 ::..::
[00:59:22] <Qu3#2> ::..:: 13 ::..::
[01:01:23] <Qu3#2> ::..:: 14 ::..::
[01:03:24] <Qu3#2> ::..:: 15 ::..::
[01:05:25] <Qu3#2> ::..:: 16 ::..::
[01:07:26] <Qu3#2> ::..:: 17 ::..::
[01:09:27] <Qu3#2> ::..:: 18 ::..::
[01:11:28] <Qu3#2> ::..:: 19 ::..::
[01:13:29] <Qu3#2> ::..:: 20 ::..::


That is when i executeds it form the command line.
I have it set to exit the script after 20 null packets(just as a precaution) without the command line(normal http:// script) it would only execute 8 times.

Will be posting the code once i make it look pretty :D

Will be making a site for the development of this bot. Stay Tuned
"The Arguments of Today Result in the Wars of Tomorrow" - Quote By Muah.
<@Logan> I spent a minute looking at my own code by accident.
<@Logan> I was thinking "What the hell is this guy doing?"

<kow`> "There are 10 types of people in the world... those who understand binary and those who don't."
<SpaceRain> That's only 2 types of people, kow.
<SpaceRain> STUPID


<[TN]FBMachine> i got kicked out of barnes and noble once for moving all the bibles into the fiction section

God i love Bash.org.

Warrior

Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

AC_Drkan

#2
Thank you

EDIT:
Little porblem, tried to solve it on my own but i cannot.

The install.php won;t work to execute the script itself. i think something might be wrong with the hosting service, i dunno, maybe.

This code:
<?php

system
("php -c php.ini -f asdf.php"$retval);

echo(
"The Execution Returned: $retval");

?>


Will not execute asdf.php, which is what the bot is.

Thats when run from the browser, when i type it into the ssh terminal though, it runs fine. So what i was attempting to do was do an ssh to my server, login and then have it execute the file. I have tried the functions on php.net with no luck. I think they might have been for php 5, which i think my hosting service still has php 4. Any help is GREATLY APPRECIATED on how to connect to an ssh server and execute a command.
"The Arguments of Today Result in the Wars of Tomorrow" - Quote By Muah.
<@Logan> I spent a minute looking at my own code by accident.
<@Logan> I was thinking "What the hell is this guy doing?"

<kow`> "There are 10 types of people in the world... those who understand binary and those who don't."
<SpaceRain> That's only 2 types of people, kow.
<SpaceRain> STUPID


<[TN]FBMachine> i got kicked out of barnes and noble once for moving all the bibles into the fiction section

God i love Bash.org.

JTN Designer

Can I ask you why you need to connect to SSH? , I used a BNLS connection done through PHP. Let me know if you need further help.
(advertising deleted by forum administrator)

AC_Drkan

Reason being is because you cannot run something with different php credentials than what the script your currently running has. It keeps returning error 127.

I have no lcue, if this dosen't make any sense sorry, im tired.
"The Arguments of Today Result in the Wars of Tomorrow" - Quote By Muah.
<@Logan> I spent a minute looking at my own code by accident.
<@Logan> I was thinking "What the hell is this guy doing?"

<kow`> "There are 10 types of people in the world... those who understand binary and those who don't."
<SpaceRain> That's only 2 types of people, kow.
<SpaceRain> STUPID


<[TN]FBMachine> i got kicked out of barnes and noble once for moving all the bibles into the fiction section

God i love Bash.org.