Skip to content

Commit

Permalink
Fixed unlock command, remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
j005u committed Sep 9, 2022
1 parent 8535d9f commit 3ace40f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 129 deletions.
6 changes: 0 additions & 6 deletions margerine.js
Expand Up @@ -21,7 +21,6 @@ Sentry.init({
const { lock, unlock, doShell} = require("./src/exploit")
const { wrapSentry } = require("./src/utils")
const constants = require("./src/constants")
const installPayload = require("./src/payload").install

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





.demandCommand()
.argv
123 changes: 0 additions & 123 deletions src/payload.js

This file was deleted.

0 comments on commit 3ace40f

Please sign in to comment.