acum am vazut ca in C vroiai :)
in fine..poate iti foloseste si secventa in perl
Claudiu Captari wrote:
va complicati
#!/usr/bin/perl
$nmap_command="nmap -sS -P0 195.149.72.180";
$result_nmap=qx! $nmap_command @target 2>&1 !;
print $result_nmap."\n";
[EMAIL PROTECTED] wrote:
On 10/31/05, Mihai Dumitrescu <[EMAIL PROTECTED]> wrote:
Salut,
Am urtmatoarea secventa de cod (in C):
system("nmap -sS -P0 195.149.72.180\n");
vreau sa pot prelucra din acelasi program care a lansat functia anterioara
ceea ce scrie nmap la stdout si/sau stderr.
man 3 popen.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug
--
Claudiu Captari
Network Engineer
_______________________________________
RCS & RDS Constanta
Tel.: +40341.400.401 / +40341.400.402
Fax: +40341.400.450
http://www.rcs-rds.ro
_______________________________________
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to
anyone. In such a case, you should destroy this message and kindly notify the
sender by reply e-mail.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug