SA-MP Forums Archive
[Plugin] [REL] Execute - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] [REL] Execute (/showthread.php?tid=100177)

Pages: 1 2 3


[REL] Execute - JaTochNietDan - 03.10.2009

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 Код:
native exec(cmd[]); // Sends the command.
Download
Linux: https://github.com/JaTochNietDan/SA-..._Linux_1.0.zip
Windows: https://github.com/JaTochNietDan/SA-...indows_1.0.zip

Source: https://github.com/JaTochNietDan/SA-MP-Exec-Plugin


Re: [REL] Linux Shell - Westie - 03.10.2009

Код:
static cell AMX_NATIVE_CALL n_file_log( AMX* amx, cell* params )

{

	Logging = 1;

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

	return 1;

}
Ahem!


Re: [REL] Linux Shell - JaTochNietDan - 03.10.2009

Silly me, thanks Westie


Re: [REL] Linux Shell - shady91 - 03.10.2009

this for Linux only?still ill use this

ill post how i get on with it thanks.


Re: [REL] Linux Shell - MenaceX^ - 03.10.2009

Awesome! This was just requested by Ethan.


Re: [REL] Linux Shell - gijsmin - 03.10.2009

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?


Re: [REL] Linux Shell - JaTochNietDan - 03.10.2009

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.


Re: [REL] Linux Shell - Woet - 03.10.2009

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.


Re: [REL] Linux Shell - gijsmin - 03.10.2009

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


Re: [REL] Linux Shell - Meester Proper - 23.10.2009

It's possible to move the recordings of the npc from records to npcmodes with this plugin?


Re: [REL] Linux Shell - JaTochNietDan - 23.10.2009

Quote:
Originally Posted by Meester Proper
It's possible to move the recordings of the npc from records to npcmodes with this plugin?
If you mean from the folder to another folder, yes. However this would be easier with my other FileManager plugin


Re: [REL] Linux Shell - Calgon - 17.01.2010

Could you demonstrate how I could delete a file using this as I'm pretty crap with Shell?

Your filemanager plugin is just like SA-MP's fremove, it doesn't properly remove the file.


Re: [REL] Linux Shell - Woet - 17.01.2010

Quote:
Originally Posted by CalgonX
Could you demonstrate how I could delete a file using this as I'm pretty crap with Shell?

Your filemanager plugin is just like SA-MP's fremove, it doesn't properly remove the file.
You would achieve that by doing rm scriptfiles/file.ini even though I'm pretty sure you are no longer interested in this answer


Re: [REL] Linux Shell - Calgon - 17.01.2010

Quote:
Originally Posted by Woet
Quote:
Originally Posted by CalgonX
Could you demonstrate how I could delete a file using this as I'm pretty crap with Shell?

Your filemanager plugin is just like SA-MP's fremove, it doesn't properly remove the file.
You would achieve that by doing rm scriptfiles/file.ini even though I'm pretty sure you are no longer interested in this answer
My bad, and thanks for the fast help.


AW: [REL] Linux Shell - Bubelbub - 24.01.2011

Can anyone reupload this?


Re: [REL] Linux Shell - legodude - 29.01.2011

why digging up a year old topic?
just ask him in pm's


Re: AW: [REL] Linux Shell - JaTochNietDan - 30.01.2011

Quote:
Originally Posted by Bubelbub
Посмотреть сообщение
Can anyone reupload this?
Well I didn't have the original files so I simply spent a little while re-making it. So now it's back and available for Windows and Linux operating systems, the links are updated and ready to go


Re: [REL] Execute - legodude - 06.02.2011

lol when i tried this i got the mvcr1000 error again


Re: [REL] Execute - JaTochNietDan - 06.02.2011

Quote:
Originally Posted by legodude
Посмотреть сообщение
lol when i tried this i got the mvcr1000 error again
Have you got this C++ redistribution installed?

http://www.microsoft.com/downloads/e...displaylang=en

If you don't know, just install it anyway and tell me if it works for you then.


Re: [REL] Execute - legodude - 06.02.2011

still same. we tried this before.
with the filemanager plugin...