infobyte / evilgrade

Evilgrade is a modular framework that allows the user to take advantage of poor upgrade implementations by injecting fake updates.
https://www.faradaysec.com/
1.26k stars 278 forks source link

Error with evilgrade at start #5

Closed PestiB9 closed 8 years ago

PestiB9 commented 8 years ago

When i start evilgrade i have this error: Use of uninitialized value $prompt in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/perl5/5.20/Term/ReadLine/Gnu.pm line 308. I reinstalled the package of perl but i continue to get it and i can't utilize any command

f-amato commented 8 years ago

Hi @PestiB9, could you please send us more information about your SO ? Best

PestiB9 commented 8 years ago

Yeah sorry, i'm using linux kali 2.0; i installed evilgrade 2 days ago and also the Data::Dump with apt-get install libdata-dump-perl. First time it seem that i could use it, no errors. Yestarday after the reboot it show this message

f-amato commented 8 years ago

Hi @PestiB9 it's seems like a problem in new version of ReadLine::Gnu. I can reproduce it in Kali 2.0. I'll try to fix it and let you know.

ghost commented 8 years ago

@f-amato I also get the same error while run evilgrade on kali 2.0 .. any fix ??? or fix soon bro

ortholinux commented 8 years ago

I have used this tool in old backtrack days and was working fine, now using first time in kali and having the same problem the guys mentioned above.

thedp commented 8 years ago

Kali 2.0 same error here.

homayoun16 commented 8 years ago

I am not sure if anyone is still having problems with this but I have found a workaround which can be temporarily applied to fixed the issue. the culprit seems to be a perl module called libterm-readline-gnu-perl so to temporarily fix it use this command to remove the module: apt-get remove libterm-readline-gnu-perl then after doing your pen testing install the module by this command: apt-get install libterm-readline-gnu-perl

macwhiz commented 8 years ago

Likewise, same problem on evilgrade 2.0.7 with Kali Rolling 2016.1.

mattaereal commented 8 years ago

Fixed. Please update your evilgrade version to current.

For the curious: Latest version of ReadLine::Gnu seems to have an issue on line 308. It does not contemplate that the $prompt variable could be empty. It could be easily fixed with an unless but that's not part of evilgrade.

So the current fix was to catch inside Shell.pm the case where ReadLine was getting used in a similar scenario.

joeisgood99 commented 8 years ago

Im still getting this issue (or a very similar one) on Kali rolling 2016.1. with fresh git clone as of 25/06/2016. Have installed RPC::XML and Data::Dump with apt-get install librpc-xml-perl && apt-get install libdata-dump-perl.

Error: www.infobytesec.com

evilgrade>Use of uninitialized value $prompt in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/perl5/5.22/Term/ReadLine/Gnu.pm line 318