SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 03/10/2009, 12:11 PM   #1
JaTochNietDan
High-roller
 
JaTochNietDan's Avatar
 
Join Date: Apr 2007
Location: Republic of Ireland
Posts: 4,301
Reputation: 357
Default [REL] Execute

What is Execute?
This is a simple open-source plugin for Windows and Linux operating systems which will allow the user to execute commands from the SA-MP server.

* Not to be confused with an SSH plugin, which would technically allow you to connect remotely to an SSH server.

Functions Included
pawn Code:
native exec(cmd[]); // Sends the command.
Download

Last edited by JaTochNietDan; 29/07/2011 at 06:25 PM.
JaTochNietDan is offline   Reply With Quote
Old 03/10/2009, 01:26 PM   #2
Westie
Gangsta
 
Westie's Avatar
 
Join Date: Jul 2009
Posts: 877
Reputation: 58
Default Re: [REL] Linux Shell

Code:
static cell AMX_NATIVE_CALL n_file_log( AMX* amx, cell* params )

{

	Logging = 1;

	if(Logging == 1) logprintf("FileManager logging enabled!");

	return 1;

}
Ahem!
Westie is offline   Reply With Quote
Old 03/10/2009, 02:21 PM   #3
JaTochNietDan
High-roller
 
JaTochNietDan's Avatar
 
Join Date: Apr 2007
Location: Republic of Ireland
Posts: 4,301
Reputation: 357
Default Re: [REL] Linux Shell

Silly me, thanks Westie
__________________
Releases:
[Includes]: [jBan] | [jBanLite]
[Plugins]: [FileManager] | [Execute]
[Applications]: [Remote Administrator *NEW] | [Script King] | [RCON GUI]
[Tools]: [Random Spawn Array Generator]

Learn PAWN and more:
http://www.jatochnietdan.com


JaTochNietDan is offline   Reply With Quote
Old 03/10/2009, 02:26 PM   #4
shady91
High-roller
 
shady91's Avatar
 
Join Date: Nov 2008
Location: Uk
Posts: 1,783
Reputation: 5
Default Re: [REL] Linux Shell

this for Linux only?still ill use this

ill post how i get on with it thanks.
__________________


Want to be apart of Need For Speed Carbon Multi Player, you can join us at


Want something in PHP/HTML/PAWN coded pm me.
shady91 is offline   Reply With Quote
Old 03/10/2009, 03:10 PM   #5
MenaceX^
High-roller
 
Join Date: Aug 2008
Posts: 3,821
Reputation: 13
Default Re: [REL] Linux Shell

Awesome! This was just requested by Ethan.
MenaceX^ is offline   Reply With Quote
Old 03/10/2009, 03:50 PM   #6
gijsmin
Huge Clucker
 
Join Date: Aug 2008
Posts: 431
Reputation: 0
Default Re: [REL] Linux Shell

i got 1 question
what if you are a hoster and you host for anybody who uses this plugin
then he can change stuff in the dedicated/root server, right?
gijsmin is offline   Reply With Quote
Old 03/10/2009, 04:00 PM   #7
JaTochNietDan
High-roller
 
JaTochNietDan's Avatar
 
Join Date: Apr 2007
Location: Republic of Ireland
Posts: 4,301
Reputation: 357
Default Re: [REL] Linux Shell

Quote:
Originally Posted by Gijs (TSG-Hosting.de)
i got 1 question
what if you are a hoster and you host for anybody who uses this plugin
then he can change stuff in the dedicated/root server, right?
Yes, if you are running the server as root, you should not be running ANY gaming servers as root EVER. Every gaming server should be run under a seperate Linux user.
__________________
Releases:
[Includes]: [jBan] | [jBanLite]
[Plugins]: [FileManager] | [Execute]
[Applications]: [Remote Administrator *NEW] | [Script King] | [RCON GUI]
[Tools]: [Random Spawn Array Generator]

Learn PAWN and more:
http://www.jatochnietdan.com


JaTochNietDan is offline   Reply With Quote
Old 03/10/2009, 04:04 PM   #8
Woet
Gangsta
 
Join Date: Oct 2006
Posts: 669
Reputation: 17
Default Re: [REL] Linux Shell

Quote:
Originally Posted by Gijs (TSG-Hosting.de)
i got 1 question
what if you are a hoster and you host for anybody who uses this plugin
then he can change stuff in the dedicated/root server, right?
If your panel is insecure, like most of them (chmods to 777, all servers are running under apache) then yes.
However, this is the problem of the host and not of SA-MP. If you sell servers, you're not supposed to be this stupid.
Woet is offline   Reply With Quote
Old 03/10/2009, 04:26 PM   #9
gijsmin
Huge Clucker
 
Join Date: Aug 2008
Posts: 431
Reputation: 0
Default Re: [REL] Linux Shell

Quote:
Originally Posted by Woet
Quote:
Originally Posted by Gijs (TSG-Hosting.de)
i got 1 question
what if you are a hoster and you host for anybody who uses this plugin
then he can change stuff in the dedicated/root server, right?
If your panel is insecure, like most of them (chmods to 777, all servers are running under apache) then yes.
However, this is the problem of the host and not of SA-MP. If you sell servers, you're not supposed to be this stupid.
true
thanks this is a Good plugin
maby a idea to let it connect to a server with ssh
gijsmin is offline   Reply With Quote
Old 23/10/2009, 09:41 PM   #10
Meester Proper
Little Clucker
 
Join Date: Jan 2008
Posts: 34
Reputation: 2
Default Re: [REL] Linux Shell

It's possible to move the recordings of the npc from records to npcmodes with this plugin?
Meester Proper is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samp linux server 03r5 doesn't run on 64 bits linux edelcat Server Support 2 08/09/2010 09:22 AM
Request to a Linux specialist:From Windows to Linux Thomas_Ahmey Help Archive 1 19/02/2010 12:37 PM
Mac vs PC... and Linux :D XPlatform Everything and Nothing 47 19/09/2009 03:57 AM
[IDEA] Shell printer StrickenKid Help Archive 4 08/07/2009 01:19 AM
0.2X - Linux ;] JonathanSmith General 7 01/01/2009 11:44 AM


All times are GMT. The time now is 06:18 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.