• Welcome to Valhalla Legends Archive.
 

[Java] Running Bot Off of a Webserver

Started by AC_Drkan, November 05, 2004, 05:39 PM

Previous topic - Next topic

iago

Quote from: iago on November 14, 2004, 06:37 PM
Assuming you're using Bash, you can create a file in your home folder called .bash_profile (I *think*) (don't forget the period in front), and put this in it:
PATH=/usr/local/j2sdk/bin:$PATH

Just do this command at the prompt:
echo "PATH=/usr/local/j2sdk/bin:\$PATH" >> ~/.bash_profile

But Make sure you change the PATH we added (/usr/local/j2sdk/bin) to the path that the actual java executables can be found.  If you don't, it still won't work.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


AC_Drkan

#16
Quote from: iago on November 15, 2004, 12:46 PM
Quote from: iago on November 14, 2004, 06:37 PM
Assuming you're using Bash, you can create a file in your home folder called .bash_profile (I *think*) (don't forget the period in front), and put this in it:
PATH=/usr/local/j2sdk/bin:$PATH

Just do this command at the prompt:
echo "PATH=/usr/local/j2sdk/bin:\$PATH" >> ~/.bash_profile

But Make sure you change the PATH we added (/usr/local/j2sdk/bin) to the path that the actual java executables can be found.  If you don't, it still won't work.

Where would the world be without you?

1 Final QUESTION!!!!!
Path would be = "/javaop/bin/javaop-background.bat"
correct?
"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.

iago

You want the path to JAVA, not to JAVAOP.  If you need to find it, try
find / -name "java"

That'll get you a lot of wrong stuff, but it'll be in a folder called "bin" though.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


AC_Drkan

#18
And 5 minutes later its still running..........

find: /homepages/3/d105986225/htdocs: Permission denied
find: /homepages/3/d105988152/htdocs: Permission denied
find: /homepages/3/d105989280/htdocs: Permission denied
find: /homepages/3/d106014707/htdocs: Permission denied



Any way to narrow it down?

EDIT:
Nevermind.

I found a Way to get it.
But now im getting this error:


bash: /homepages/17/d105382477/htdocs/java/bin/javaop-background.bat=/usr/local/j2sdk/bin:: No such file or directory
"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.

iago

That .bat file was designed for users to double-click to run, and it never actually worked, and I have no idea why you are putting it anywhere.  When did I ever say to use it?

Also, /usr/local/j2sdk/bin probably ISN'T where Java is installed to.  I said at least 3 times in this topic, "change /usr/local/j2sdk/bin to where ever Java is installed on your system"
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


AC_Drkan

Quote from: iago on November 15, 2004, 05:16 PM
That .bat file was designed for users to double-click to run, and it never actually worked, and I have no idea why you are putting it anywhere.  When did I ever say to use it?

Also, /usr/local/j2sdk/bin probably ISN'T where Java is installed to.  I said at least 3 times in this topic, "change /usr/local/j2sdk/bin to where ever Java is installed on your system"

I Cannot Find Where its installed on the system.

Im searching the File Directories but im still unable to find it.
"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.

Falcon[anti-yL]


MyndFyre

Most of us who don't know how to run Linux just stick with unsafe, insecure, unstable Windows.  :P
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Banana fanna fo fanna

First, what does SSL have to do with anything?
Second, I don't think your server has a JRE installed. That sucks. You're probably also violating their TOS by trying to run a bot, too.

AC_Drkan

#24
Quote from: Banana fanna fo fanna on November 15, 2004, 07:23 PM
First, what does SSL have to do with anything?
Second, I don't think your server has a JRE installed. That sucks. You're probably also violating their TOS by trying to run a bot, too.

Most likely,
But when the give you read and write access to the entire server,
I don't think they know what their doing.

On a Side Note:
Then how would the server run java applications Like the IRC Client?

THEIR TOS:

Shell access is provided for web development and not for running
irc-bots, arbitrary tcp/udp servers (e.g. gameservers) or cracking toolkits.
Disregard leads to suspension of your contract.


Its not an irc bot. ;)
"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.

Banana fanna fo fanna

Because the server is not running Java applets, which is what I think you're refering to. The client is.