| View previous topic :: View next topic |
| Author |
Message |
x0x Op
Joined: 10 Feb 2009 Posts: 140
|
Posted: Tue Sep 16, 2014 2:24 am Post subject: Execute Linux application and return console output |
|
|
I would like to execute a Linux application and return the console output to the channel.
Example
User in channel:
!ping 1.2.3.4
Eggdrop acts by running the following command and returns the output to the channel. Including new lines as shown on the Linux console.
ping -c 3 1.2.3.4
If I have a script like this, I could use it for other Linux applications as well.
Thanks! |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Tue Sep 16, 2014 9:38 am Post subject: Re: Execute Linux application and return console output |
|
|
| x0x wrote: |
If I have a script like this, I could use it for other Linux applications as well.
|
Exactly, and that's why people ask for scripts like this, so they can use eggdrop as a botnet bot and remotely install, then use said botnet.
The code you're looking for is actually very easy to make, it is just very malicious and if used correctly/incorrectly it could ruin a user acct, or worse.. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
| Back to top |
|
 |
x0x Op
Joined: 10 Feb 2009 Posts: 140
|
Posted: Tue Sep 16, 2014 12:37 pm Post subject: Re: Execute Linux application and return console output |
|
|
| Ok, while I do understand that, I just want to run ping and something like traceroute on my own server. So if there's anybody that can help out; I'd appreciate it! |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
|
| Back to top |
|
 |
|