egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Execute Linux application and return console output

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
x0x
Op


Joined: 10 Feb 2009
Posts: 140

PostPosted: Tue Sep 16, 2014 2:24 am    Post subject: Execute Linux application and return console output Reply with quote

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
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Tue Sep 16, 2014 9:38 am    Post subject: Re: Execute Linux application and return console output Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
x0x
Op


Joined: 10 Feb 2009
Posts: 140

PostPosted: Tue Sep 16, 2014 12:37 pm    Post subject: Re: Execute Linux application and return console output Reply with quote

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
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Sep 16, 2014 2:04 pm    Post subject: Re: Execute Linux application and return console output Reply with quote

http://www.egghelp.org/tclhtml/3478-4-0-0-1-eggshell.htm

Examine that and see if it meets your needs.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber