User Profile

Collapse

Profile Sidebar

Collapse
heaveninflames
heaveninflames
Last Activity: Oct 14 '08, 01:22 PM
Joined: Oct 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • heaveninflames
    replied to List directory contents
    in Perl
    Yes!!! U made my day, thanks a lot!
    See more | Go to post

    Leave a comment:


  • heaveninflames
    replied to List directory contents
    in Perl
    Vijayarl: Yes



    Nope, doesnt't work. There's no output at all now...
    See more | Go to post

    Leave a comment:


  • heaveninflames
    started a topic List directory contents
    in Perl

    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) {
    ...
    See more | Go to post

  • [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"));
    ...
    See more | Go to post
No activity results to display
Show More
Working...