169 похожих чатов

Hi guys, do you know a package that can : -

start a web-server
- you specify actions and requests and it will follow it ?

NO CODE !

For example in a configuration file, you have :

GET /name
param
echo 'request from %paran%'

POST /fullname
param1, param2
mkdir param1 param2

The first line is the request
The second parameters
The third is the command line it will execute 🤔

Then run : command --port 30 --conf myconfig.txt

10 ответов

16 просмотров

Probably doesn't exist since literally giving out remote code execution isn't the greatest idea lol

d4rk3r-. Автор вопроса
Sean ✨
Probably doesn't exist since literally giving out ...

mhh... am facing a situation where i need that lol !

d4rk3r .
mhh... am facing a situation where i need that lol...

Everybody is free of commiting suicide. you can run a php server, and then https://www.php.net/manual/en/function.exec.php run as root, so the attacker have it easier!

d4rk3r-. Автор вопроса

https://github.com/Sanix-Darker/dycow i made something... and it works pretty fine following my requirements.

d4rk3r .
mhh... am facing a situation where i need that lol...

To run remote commands it’s standard to use SSH There’s also apps for your phone. For strong security, use ssh keys 🔑

d4rk3r-. Автор вопроса
Lalo
To run remote commands it’s standard to use SSH ...

i was not searching to run remote ssh commands but able to create a quick rest api service that can receive some parameters, do a specific stuff and respond 🤔

d4rk3r .
i was not searching to run remote ssh commands but...

Oh I see. A quick laravel app with background jobs would do the trick. Autentification included. There’s docker images ready to deploy. The hole process is 20min

d4rk3r-. Автор вопроса
Lalo
Oh I see. A quick laravel app with background job...

interesting thanks ! The thing is i was making this tool for my raspberry pi where i wanted to start a tiny web-server, for laravel it was too much to install, same for docker that is realy huge... With dycow you have only 3 steps : - Create a configuration file for example : - GET /test?name cmd: echo 'Custom command !!!' res: Hello #name# ! And in the CLI, hit : pip install dycow dw 3000 conf_file It will run on port 3000 and following rules in the conf_file

Похожие вопросы

Обсуждают сегодня

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
Как передать управляющий символ в открытую через CreateProcess консоль? Собсна, есть процедура: procedure TRedirectThread.WriteData(Data: OEMString); var Written: Cardinal;...
Serjone
6
в JclConsole объявлено так: function CtrlHandler(CtrlType: DWORD): BOOL; stdcall; - где ваше объявление с stdcall? у вас на картинке нет stdcall
Karagy
8
Ребят в СИ можно реализовать ООП?
Николай
33
program test; {$mode delphi} procedure proc(v: int32); overload; begin end; procedure proc(v: int64); overload; begin end; var x: uint64; begin proc(x); end. Уж не знаю...
notme
6
https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_h_common.erl#L174 https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_olp.erl#L76 15 лет назад...
Maksim Lapshin
20
Карта сайта