[Plugin] [REL] Execute
#1

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
Reply
#2

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

{

	Logging = 1;

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

	return 1;

}
Ahem!
Reply
#3

Silly me, thanks Westie
Reply
#4

this for Linux only?still ill use this

ill post how i get on with it thanks.
Reply
#5

Awesome! This was just requested by Ethan.
Reply
#6

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?
Reply
#7

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.
Reply
#8

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.
Reply
#9

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
Reply
#10

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

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
Reply
#12

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.
Reply
#13

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
Reply
#14

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.
Reply
#15

Can anyone reupload this?
Reply
#16

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

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
Reply
#18

lol when i tried this i got the mvcr1000 error again
Reply
#19

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.
Reply
#20

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


Forum Jump:


Users browsing this thread: 1 Guest(s)