Skip to content

Commit 3ace40f

Browse files
committed
Fixed unlock command, remove dead code.
1 parent 8535d9f commit 3ace40f

File tree

2 files changed

+0
-129
lines changed

2 files changed

+0
-129
lines changed

margerine.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Sentry.init({
2121
const { lock, unlock, doShell} = require("./src/exploit")
2222
const { wrapSentry } = require("./src/utils")
2323
const constants = require("./src/constants")
24-
const installPayload = require("./src/payload").install
2524

2625
console.log(chalk.hex("#0057b7")("margerine - brought to you with love by the fpv.wtf team"))
2726
console.log(chalk.hex("#ffd700")("special thanks to @tmbinc, @bin4ry, @jaanuke and @funnel\n"))
@@ -54,9 +53,6 @@ const argv = yargs
5453
wrapSentry("unlock", async () => {
5554
return await getDevice(argv)
5655
.then(unlock)
57-
.then(() => {
58-
return installPayload("https://github.com/fpv-wtf/wtfos/releases/latest/download/setup-payload.tgz", "cd /tmp/setup/ && sh bootstrap-wtfos.sh", true)
59-
})
6056
.then(() => {
6157
console.log("\ndevice should be unlocked, try 'adb devices'")
6258
console.log("please consider donating: https://github.com/fpv-wtf/margerine#support-the-effort")
@@ -109,7 +105,5 @@ const argv = yargs
109105

110106

111107

112-
113-
114108
.demandCommand()
115109
.argv

src/payload.js

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)