User Profile
Collapse
-
Yes!!! U made my day, thanks a lot! -
Vijayarl: Yes
Nope, doesnt't work. There's no output at all now...Leave a comment:
-
List directory contents
Hi all,
I've searched the net for a while, and tried a lot of things. The script I wrote prints the contents of a directory. It works fine for a directory with no space in it, but with a space it doens't. I tried putting in qoutation marks, but that doesn't help. Anyone some ideas?
...Code:#!/usr/bin/perl -w my $dir = 'c:\Documents and Settings\\\'; @files = <$dir*>; foreach $file (@files) { -
[ADVANCED] NET:PcapUtils problem driving me nuts
Hi all,
When I execute the following code, it's captures all the data going trough my network card, that goes fine. But then i want to print the headers of the packets, see the if-statement:
...Code:if (index($packet,"GET" gt 0)) { $start = (index($packet,"GET")); $end = (index($packet,"Content-Length: ")); } else { $start = (index($packet,"POST"));
No activity results to display
Show More
Leave a comment: