wireghoul / dotdotpwn

DotDotPwn - The Directory Traversal Fuzzer

Home Page:http://dotdotpwn.blogspot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error load scriptlib perl

j1m1l0k0 opened this issue · comments

after installed the perl module in mint distro

causes the error below

Can not locate TFTP.pm in @inc (you may need to install the TFTP module) (@inc contains:. / Etc / perl /usr/local/lib/perl/5.18.2 / usr / local / share / perl /5.18.2 / usr / lib / perl5 / usr / share / perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 / usr / local / lib / site_perl) at DotDotPwn / TFTP.pm line 13.

Solution
the line of code use TFTP;
you must place the following line because the module is in 'Net'
use Net ::TFTP; # / Usr / share / perl5 / Net / TFTP.pm

Net::TFTP is not the same Module as TFTP...
TFTP - http://search.cpan.org/~gsm/TFTP-1.0b3/TFTP.pm
Net::TFTP - http://search.cpan.org/~gbarr/Net-TFTP-0.19/TFTP.pm

While their interfaces looks quite similar I'm not certain that they are compatible, so unless you want to do the testing/write a patch I suggest you use the TFTP module.

I'm using the module more like not found even after installed, the quick fix was to insert Net :: before the module call.

runs cool :)

Are you using the TFTP module or was this just to stop the error so you could use another module?

I am using Net :: TFTP another module when running the script perl does not find the file in TFTP.pm base. I made this change in code and was a good. take a test. It is even interesting to have two module options to use.

it was to correct the error and to run the script.

Congratulations tool. very useful lol