Skip to content

Commit

Permalink
Update ghost.py
Browse files Browse the repository at this point in the history
  • Loading branch information
enty8080 authored Dec 2, 2020
1 parent fd26df9 commit 2af6f88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@
from core.transfer import transfer

class ghost:
def __init__(self):
def __init__(self, rhost, rport):
self.badges = badges()
self.transfer = transfer(self)

self.remote_host = rhost
self.remote_port = rport

def send_command(self, command, arguments="", multi_output=False, output=True):
if multi_output:
os.system("adb " + command + " " + arguments)
Expand Down

0 comments on commit 2af6f88

Please sign in to comment.