-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
122 changed files
with
99 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import sys, os | ||
from classes.Android import * | ||
|
||
filelist = os.listdir("exefiles") | ||
try: | ||
exeloc = str(sys.argv[1]) | ||
type = str(sys.argv[2]) | ||
debugger = str(sys.argv[3]) | ||
except IndexError: | ||
print("Example : python3 example.py example.exe nodebug / gdb / qdb") | ||
except: | ||
print(""" | ||
[*] Since no architect (arm / arm64) is selected, it is selected 'arm' | ||
OR | ||
[*] Since no debugger (gdb / qdb) is selected, will not debugging! | ||
""") | ||
debugger = "nodebug" | ||
type = "arm" | ||
|
||
if exeloc is None or exeloc == "" or type is None or type == "" or debugger is None or debugger == "": | ||
print("Example : python3 example.py example.exe arm64 / arm nodebug / gdb / qdb") | ||
else: | ||
if type == "arm64": | ||
if debugger == "qdb" or debugger == "gdb": | ||
try: | ||
TestAndroid.debug_android_arm64(exeloc, debugger) | ||
except Exception as e: | ||
print("ERROR: " + str(e)) | ||
else: | ||
try: | ||
TestAndroid.test_android_arm64(exeloc) | ||
except Exception as e: | ||
print("ERROR: " + str(e)) | ||
else: | ||
if debugger == "qdb" or debugger == "gdb": | ||
try: | ||
TestAndroid.debug_android_arm(exeloc, debugger) | ||
except Exception as e: | ||
print("ERROR: " + str(e)) | ||
else: | ||
try: | ||
TestAndroid.test_android_arm64(exeloc) | ||
except Exception as e: | ||
print("ERROR: " + str(e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.