A
A
AnGel2018-08-06 16:10:43
linux
AnGel, 2018-08-06 16:10:43

RAD Studio 10.2 linux - how to call any application from unix environment?

Previously, I wrote a small python script to automatically monitor connections to a web server, analyze and generate a white sheet. Now I decided to try to do this on delphi, since it, in turn, received an update to support unix x64 machines.
Previously in python:

System("sudo tcpdump -v -n -w attack.log dst port 80  -c 2000");

And how to call on delphi - did not find the answer. I looked at how it was implemented in lazarus - it did not fit. AProcess is not even close.
Those. we need an alternative to our ShellExecute from under windows, on unix machines.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question