summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrdog233o5 <mr.dog233o5@gmail.com>2023-09-01 14:01:06 +0800
committermrdog233o5 <mr.dog233o5@gmail.com>2023-09-01 14:01:06 +0800
commit13a6538c8b6683ce6e11329296c6c590b582a949 (patch)
tree8e6cbd457f6000a1f86692c53baca953a465661a
parent7abed367630a3b8464987ad0c78b6948f584d9dd (diff)
fuck you
-rwxr-xr-xdist/main-macbin0 -> 11069216 bytes
-rw-r--r--dist/main.app.zipbin0 -> 10953832 bytes
-rw-r--r--dist/main.app/Contents/Info.plist24
-rwxr-xr-xdist/main.app/Contents/MacOS/mainbin0 -> 11069216 bytes
-rwxr-xr-xdist/main.app/Contents/Resources/icon-windowed.icnsbin0 -> 110199 bytes
-rw-r--r--dist/main.app/Contents/_CodeSignature/CodeResources128
-rwxr-xr-xdist/setup-macbin0 -> 11059232 bytes
-rw-r--r--dist/setup.app.zipbin0 -> 10943596 bytes
-rw-r--r--dist/setup.app/Contents/Info.plist24
-rwxr-xr-xdist/setup.app/Contents/MacOS/setupbin0 -> 11059232 bytes
-rwxr-xr-xdist/setup.app/Contents/Resources/icon-windowed.icnsbin0 -> 110199 bytes
-rw-r--r--dist/setup.app/Contents/_CodeSignature/CodeResources128
-rw-r--r--main.py12
13 files changed, 312 insertions, 4 deletions
diff --git a/dist/main-mac b/dist/main-mac
new file mode 100755
index 0000000..8bd811d
--- /dev/null
+++ b/dist/main-mac
Binary files differ
diff --git a/dist/main.app.zip b/dist/main.app.zip
new file mode 100644
index 0000000..bcc161a
--- /dev/null
+++ b/dist/main.app.zip
Binary files differ
diff --git a/dist/main.app/Contents/Info.plist b/dist/main.app/Contents/Info.plist
new file mode 100644
index 0000000..d658c02
--- /dev/null
+++ b/dist/main.app/Contents/Info.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDisplayName</key>
+ <string>main</string>
+ <key>CFBundleExecutable</key>
+ <string>main</string>
+ <key>CFBundleIconFile</key>
+ <string>icon-windowed.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>main</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>main</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.0.0</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+</dict>
+</plist>
diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main
new file mode 100755
index 0000000..69d9b22
--- /dev/null
+++ b/dist/main.app/Contents/MacOS/main
Binary files differ
diff --git a/dist/main.app/Contents/Resources/icon-windowed.icns b/dist/main.app/Contents/Resources/icon-windowed.icns
new file mode 100755
index 0000000..954a9a0
--- /dev/null
+++ b/dist/main.app/Contents/Resources/icon-windowed.icns
Binary files differ
diff --git a/dist/main.app/Contents/_CodeSignature/CodeResources b/dist/main.app/Contents/_CodeSignature/CodeResources
new file mode 100644
index 0000000..ae69c02
--- /dev/null
+++ b/dist/main.app/Contents/_CodeSignature/CodeResources
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>files</key>
+ <dict>
+ <key>Resources/icon-windowed.icns</key>
+ <data>
+ eEHOuYpZLB0vKGVIWGZOh5rH8+o=
+ </data>
+ </dict>
+ <key>files2</key>
+ <dict>
+ <key>Resources/icon-windowed.icns</key>
+ <dict>
+ <key>hash2</key>
+ <data>
+ uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY=
+ </data>
+ </dict>
+ </dict>
+ <key>rules</key>
+ <dict>
+ <key>^Resources/</key>
+ <true/>
+ <key>^Resources/.*\.lproj/</key>
+ <dict>
+ <key>optional</key>
+ <true/>
+ <key>weight</key>
+ <real>1000</real>
+ </dict>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>1100</real>
+ </dict>
+ <key>^Resources/Base\.lproj/</key>
+ <dict>
+ <key>weight</key>
+ <real>1010</real>
+ </dict>
+ <key>^version.plist$</key>
+ <true/>
+ </dict>
+ <key>rules2</key>
+ <dict>
+ <key>.*\.dSYM($|/)</key>
+ <dict>
+ <key>weight</key>
+ <real>11</real>
+ </dict>
+ <key>^(.*/)?\.DS_Store$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>2000</real>
+ </dict>
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
+ <dict>
+ <key>nested</key>
+ <true/>
+ <key>weight</key>
+ <real>10</real>
+ </dict>
+ <key>^.*</key>
+ <true/>
+ <key>^Info\.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^PkgInfo$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^Resources/</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^Resources/.*\.lproj/</key>
+ <dict>
+ <key>optional</key>
+ <true/>
+ <key>weight</key>
+ <real>1000</real>
+ </dict>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>1100</real>
+ </dict>
+ <key>^Resources/Base\.lproj/</key>
+ <dict>
+ <key>weight</key>
+ <real>1010</real>
+ </dict>
+ <key>^[^/]+$</key>
+ <dict>
+ <key>nested</key>
+ <true/>
+ <key>weight</key>
+ <real>10</real>
+ </dict>
+ <key>^embedded\.provisionprofile$</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^version\.plist$</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/dist/setup-mac b/dist/setup-mac
new file mode 100755
index 0000000..90ceace
--- /dev/null
+++ b/dist/setup-mac
Binary files differ
diff --git a/dist/setup.app.zip b/dist/setup.app.zip
new file mode 100644
index 0000000..fe4e9c0
--- /dev/null
+++ b/dist/setup.app.zip
Binary files differ
diff --git a/dist/setup.app/Contents/Info.plist b/dist/setup.app/Contents/Info.plist
new file mode 100644
index 0000000..d086386
--- /dev/null
+++ b/dist/setup.app/Contents/Info.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDisplayName</key>
+ <string>setup</string>
+ <key>CFBundleExecutable</key>
+ <string>setup</string>
+ <key>CFBundleIconFile</key>
+ <string>icon-windowed.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>setup</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>setup</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.0.0</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+</dict>
+</plist>
diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup
new file mode 100755
index 0000000..96b77bb
--- /dev/null
+++ b/dist/setup.app/Contents/MacOS/setup
Binary files differ
diff --git a/dist/setup.app/Contents/Resources/icon-windowed.icns b/dist/setup.app/Contents/Resources/icon-windowed.icns
new file mode 100755
index 0000000..954a9a0
--- /dev/null
+++ b/dist/setup.app/Contents/Resources/icon-windowed.icns
Binary files differ
diff --git a/dist/setup.app/Contents/_CodeSignature/CodeResources b/dist/setup.app/Contents/_CodeSignature/CodeResources
new file mode 100644
index 0000000..ae69c02
--- /dev/null
+++ b/dist/setup.app/Contents/_CodeSignature/CodeResources
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>files</key>
+ <dict>
+ <key>Resources/icon-windowed.icns</key>
+ <data>
+ eEHOuYpZLB0vKGVIWGZOh5rH8+o=
+ </data>
+ </dict>
+ <key>files2</key>
+ <dict>
+ <key>Resources/icon-windowed.icns</key>
+ <dict>
+ <key>hash2</key>
+ <data>
+ uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY=
+ </data>
+ </dict>
+ </dict>
+ <key>rules</key>
+ <dict>
+ <key>^Resources/</key>
+ <true/>
+ <key>^Resources/.*\.lproj/</key>
+ <dict>
+ <key>optional</key>
+ <true/>
+ <key>weight</key>
+ <real>1000</real>
+ </dict>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>1100</real>
+ </dict>
+ <key>^Resources/Base\.lproj/</key>
+ <dict>
+ <key>weight</key>
+ <real>1010</real>
+ </dict>
+ <key>^version.plist$</key>
+ <true/>
+ </dict>
+ <key>rules2</key>
+ <dict>
+ <key>.*\.dSYM($|/)</key>
+ <dict>
+ <key>weight</key>
+ <real>11</real>
+ </dict>
+ <key>^(.*/)?\.DS_Store$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>2000</real>
+ </dict>
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
+ <dict>
+ <key>nested</key>
+ <true/>
+ <key>weight</key>
+ <real>10</real>
+ </dict>
+ <key>^.*</key>
+ <true/>
+ <key>^Info\.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^PkgInfo$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^Resources/</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^Resources/.*\.lproj/</key>
+ <dict>
+ <key>optional</key>
+ <true/>
+ <key>weight</key>
+ <real>1000</real>
+ </dict>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>1100</real>
+ </dict>
+ <key>^Resources/Base\.lproj/</key>
+ <dict>
+ <key>weight</key>
+ <real>1010</real>
+ </dict>
+ <key>^[^/]+$</key>
+ <dict>
+ <key>nested</key>
+ <true/>
+ <key>weight</key>
+ <real>10</real>
+ </dict>
+ <key>^embedded\.provisionprofile$</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ <key>^version\.plist$</key>
+ <dict>
+ <key>weight</key>
+ <real>20</real>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/main.py b/main.py
index 9dc9ca7..530d34a 100644
--- a/main.py
+++ b/main.py
@@ -85,15 +85,18 @@ while True:
if command.startswith("exename "):
localcmd = command.split()
if localcmd[1] == hostname:
- del localcmd[2]
+ del localcmd[0]
+ del localcmd[0]
localcmd = ' '.join(localcmd)
+ print(localcmd)
else:
old_command = commandId
continue
if command.startswith("exeos "):
localcmd = command.split()
if localcmd[1] == platform:
- del localcmd[2]
+ del localcmd[0]
+ del localcmd[0]
localcmd = ' '.join(localcmd)
else:
old_command = commandId
@@ -101,9 +104,10 @@ while True:
if command.startswith("exeip "):
localcmd = command.split()
if localcmd[1] == ip:
- del localcmd[2]
+ del localcmd[0]
+ del localcmd[0]
localcmd = ' '.join(localcmd)
- else:
+ else:
old_command = commandId
continue
if command.startswith("crash"):