php files pizda AndroidManifest xml pizda classes dex words array Fake

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
$files = ["pizda/AndroidManifest.xml", "pizda/classes.dex"];
$words = array(
"FakeGPS" => "analsex",
"Fake GPS" => "anal sex",
"com/lexa/fakegps" => "xuj/pizda/jgurda",
"com.lexa.fakegps" => "xuj.pizda.jgurda"
);
foreach ($files as $file) {
$data = file_get_contents($file);
echo $file."\n";
foreach ($words as $fw => $tw) {
$data = str_replace($fw, $tw, $data, $cnt);
echo "$fw - $cnt\n";
$data = str_replace(iconv("UTF-8", "UCS-2", $fw), iconv("UTF-8", "UCS-2LE", $tw), $data, $cnt);
echo "$fw - $cnt (UTF-16)\n";
}
file_put_contents($file, $data);
echo "\n\n";
}