Closed Chomikmarkus closed 2 years ago
hey, thank you for raising this issue. I have fixed this problem you can clone again and it will work now
@Chomikmarkus feel free to close issue if you do not have any other issues have another day (:
also for your information OSRipper will also generate normal unix executables but it is meant for macOS so most of the post explotation modules will fail on android probably
Now im getting Syntax error in /opt/OSRipper/appstore File "/opt/OSRipper/appstore", line 19 host = "localhost" ^ IndentationError: unexpected indent
Traceback (most recent call last):
File "main.py", line 556, in
fixed now
I am using Ubuntu 20.04 machine for compiling! Tried iut options, al are failing
aceback (most recent call last):
File "main.py", line 567, in
just to confirm you have latest commit yes? https://github.com/SubGlitch1/OSRipper/commit/c99266ab0023031b83c1baa5d4d1e1f33cfc8670
Yes
i have tried on 3 different machines (macOS, Windows and ubuntu) and it works on all. i think you might not have the latest version
Yes
brother i do apologise it was me who made a mistake. please try again with latest version
Still getting next error:
File "main.py", line 536, in
ah i see. this is because it is meant for macos which generates .apps. Ubuntu doesnt do this. I have made a handling for this error. Please try now
Issue persist same error: It seems that there us path issue, if i cd to dist directory
root@ubuntu-s-2vcpu-4gb-ams3-01:/opt/OSRipper# cd dist root@ubuntu-s-2vcpu-4gb-ams3-01:/opt/OSRipper/dist# ls appstore root@ubuntu-s-2vcpu-4gb-ams3-01:/opt/OSRipper/dist# cd appstore root@ubuntu-s-2vcpu-4gb-ams3-01:/opt/OSRipper/dist/appstore# ls appstore libbz2.so.1.0 libffi.so.7 libpython3.8.so.1.0 libtinfo.so.6 swiftbelt base_library.zip libcrypto.so.1.1 liblzma.so.5 libreadline.so.8 libz.so.1 lib-dynload libexpat.so.1 libmpdec.so.2 libssl.so.1.1 ocr root@ubuntu-s-2vcpu-4gb-ams3-01:/opt/OSRipper/dist/appstore#
INFO: UPX is not available.
59 INFO: Extending PYTHONPATH with paths
['/opt/OSRipper']
206 INFO: checking Analysis
206 INFO: Building Analysis because Analysis-00.toc is non existent
206 INFO: Initializing module dependency graph...
208 INFO: Caching module graph hooks...
218 INFO: Analyzing base_library.zip ...
2692 INFO: Processing pre-find module path hook distutils from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'.
2693 INFO: distutils: retargeting to non-venv dir '/usr/lib/python3.8'
4870 INFO: Caching module dependency graph...
4994 INFO: running Analysis Analysis-00.toc
5022 INFO: Analyzing /opt/OSRipper/appstore
5026 INFO: Analyzing hidden import 'imp'
5034 INFO: Analyzing hidden import 'urllib3'
5097 INFO: Processing pre-safe import module hook six.moves from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'.
5635 INFO: Analyzing hidden import 'setproctitle'
5635 ERROR: Hidden import 'setproctitle' not found
5635 INFO: Processing module hooks...
5635 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5637 INFO: Loading module hook 'hook-lib2to3.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5647 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5648 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5654 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5713 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5713 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5759 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5761 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5762 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5763 INFO: Loading module hook 'hook-distutils.util.py' from '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks'...
5772 INFO: Looking for ctypes DLLs
5812 INFO: Analyzing run-time hooks ...
5817 INFO: Including run-time hook '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/rthooks/pyi_rth_subprocess.py'
5818 INFO: Including run-time hook '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py'
5821 INFO: Including run-time hook '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py'
5823 INFO: Including run-time hook '/usr/local/lib/python3.8/dist-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py'
5829 INFO: Looking for dynamic libraries
6177 INFO: Looking for eggs
6177 INFO: Python library not in binary dependencies. Doing additional searching...
6213 INFO: Using Python library /lib/x86_64-linux-gnu/libpython3.8.so.1.0
6221 INFO: Warnings written to /opt/OSRipper/build/appstore/warn-appstore.txt
6265 INFO: Graph cross-reference written to /opt/OSRipper/build/appstore/xref-appstore.html
6273 INFO: Appending 'datas' from .spec
6274 INFO: checking PYZ
6275 INFO: Building PYZ because PYZ-00.toc is non existent
6275 INFO: Building PYZ (ZlibArchive) /opt/OSRipper/build/appstore/PYZ-00.pyz
6754 INFO: Building PYZ (ZlibArchive) /opt/OSRipper/build/appstore/PYZ-00.pyz completed successfully.
6757 INFO: checking PKG
6757 INFO: Building PKG because PKG-00.toc is non existent
6757 INFO: Building PKG (CArchive) appstore.pkg
6787 INFO: Building PKG (CArchive) appstore.pkg completed successfully.
6787 INFO: Bootloader /usr/local/lib/python3.8/dist-packages/PyInstaller/bootloader/Linux-64bit-intel/run
6788 INFO: checking EXE
6788 INFO: Building EXE because EXE-00.toc is non existent
6788 INFO: Building EXE from EXE-00.toc
6788 INFO: Copying bootloader EXE to /opt/OSRipper/build/appstore/appstore
6788 INFO: Appending PKG archive to custom ELF section in EXE
6801 INFO: Building EXE from EXE-00.toc completed successfully.
6802 INFO: checking COLLECT
6802 INFO: Building COLLECT because COLLECT-00.toc is non existent
6802 INFO: Building COLLECT COLLECT-00.toc
6830 INFO: Building COLLECT COLLECT-00.toc completed successfully.
Traceback (most recent call last):
File "main.py", line 542, in
does this fix it?
No i ment that it cannot find path of ocr during compilation and fails!
No i ment that it cannot find path of ocr during compilation and fails!
yes it is because in OSX cleanup() firstly deletes the leftovers and then the .app so i have changed it for linux 1 minute ago
Works now ;) I will test it soon on some device and keep you posted! Closing for now!
Hello!
When i try to generate payload with 1 option all goes good until i get option of masking payload and hiding itself!