Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How to implement cgi interface to Net-Scan-Ftp-Anonymous module, to enable specify from web page the IP range to scan? (call script from webpage, i.e. online scanner). It should not be difficult?

http://search.cpan.org/~mcantoni/Net-Scan-Ftp-Anonymous-0.02
http://search.cpan.org/CPAN/authors/id/M/MC/MCANTONI/Net-Scan-Ftp-Anonymous-0.02.tar.gz
  • Comment on cgi interface to Scan-Ftp-Anonymous module

Replies are listed 'Best First'.
Re: cgi interface to Scan-Ftp-Anonymous module
by moritz (Cardinal) on Aug 05, 2007 at 17:36 UTC
    It should not be very hard, but nobody here will do it for you.

    If you have a specific problem, you should tell us what your problem is.

    There are plenty of CGI howtos on the internet, and google knows plenty of them.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: cgi interface to Scan-Ftp-Anonymous module
by shmem (Chancellor) on Aug 05, 2007 at 19:29 UTC
    How to implement cgi interface to Net-Scan-Ftp-Anonymous module, to enable specify from web page the IP range to scan? (call script from webpage, i.e. online scanner). It should not be difficult?

    No, it's not difficult. Provide a form with two text boxes, for the start and end of the IP range. Validate the input to that form, loop over the IP range, scan the current IP address in the loop body, store the results. Then present them formatted to your liking.

    Did you try something like that, and if so, what has been the outcome? some code, yet? See How (Not) To Ask A Question.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
    A reply falls below the community's threshold of quality. You may see it by logging in.