Export to GitHub

httpflooder - issue #1

Perl warning : setting locale failed


Posted on May 22, 2013 by Quick Rabbit

After using : perl httpflooder.pl -a GF -h www.site.com --ips ips.txt --urls urls.txt --useragents useragents.txt --referers referers.txt -t 50 -n 1000

I get this error message :

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_PAPER = "tr_TR.UTF-8", LC_ADDRESS = "tr_TR.UTF-8", LC_MONETARY = "tr_TR.UTF-8", LC_NUMERIC = "tr_TR.UTF-8", LC_TELEPHONE = "tr_TR.UTF-8", LC_IDENTIFICATION = "tr_TR.UTF-8", LC_MEASUREMENT = "tr_TR.UTF-8", LC_TIME = "tr_TR.UTF-8", LC_NAME = "tr_TR.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Can't locate HTML/Parse.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at httpflooder.pl line 21. BEGIN failed--compilation aborted at httpflooder.pl line 21.

After that i tried to set locales :

locale-gen tr_TR.UTF-8 en_US en_US.UTF-8

dpkg-reconfigure locales

and when i try to run again i get this message this time :

Can't locate HTML/Parse.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at httpflooder.pl line 21. BEGIN failed--compilation aborted at httpflooder.pl line 21.

To fix this you have to install :

sudo apt-get install libhtml-parser-perl and sudo apt-get install libhtml-html5-parser-perl (optional)

After that you can use this cool tool. I hope it helps.

Comment #1

Posted on May 23, 2013 by Massive Lion

Thanks for your solution.

I added Parse.pm just for test. So, i removed in 0.3v.

Comment #2

Posted on May 20, 2014 by Swift Lion

Igor:httpflooder root# perl httpflooder.pl -a GF -h www.site.com.br -p 80 --urls urls.txt --ips ips.txt -t 5 -n 5 -v 3

Thread 103 terminated abnormally: Error :: Can't assign requested address at httpflooder.pl line 914.

Status: New

Labels:
Type-Defect Priority-Medium