powerstager icon indicating copy to clipboard operation
powerstager copied to clipboard

update the code of script to support latest mingw gcc versions

Open peterpt opened this issue 5 years ago • 1 comments

got this error :


/ _ \_____      _____ _ __/ _\ |_ __ _  __ _  ___ _ __ 

/ /)/ _ \ \ /\ / / _ \ '_\ | / _ |/ _ |/ _ \ '| / / () \ V V / __/ | \ \ || (| | (| | / |
/ _
/ _/_/ _
|
| _/__,|_, |___||
_ __ _ _ |/
| '
| | | |
| |) | |
| | A payload stager using PowerShell
(
) ./ _, | Created by z0noxz
|
| |
_/

Traceback (most recent call last): File "power.py", line 2962, in main(sys.argv[1:]) File "power.py", line 2949, in main compile_source() File "power.py", line 2694, in compile_source Print.add_name_value("File signature", hashlib.md5(open(output, "rb").read()).hexdigest(), Print.info) IOError: [Errno 2] No such file or directory: 'windowsbd'

with gcc-mingw-w64-i686 version 8.3.0

after downgrading to 4.9.1 version in debian jessie repository the problem disapeared .

your script requires all these packages gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64

and right now it will only work if these packages came from jessie repository .

peterpt avatar Dec 14 '19 23:12 peterpt

I have very limited time for this at the moment. If anyone else has the time, feel free to send a pull request.

On 2019-12-14 15:48:01, peterpt wrote:

got this error :


/ _ \_____      _____ _ __/ _\ |_ __ _  __ _  ___ _ __ 

/ /)/ _ \ \ /\ / / _ \ '_\ | / _ |/ _ |/ _ \ '| / / () \ V V / __/ | \ \ || (| | (| | / |
/ _
/ _/_/ _
|
| _/__,|_, |___||
_ __ _ _ |/
| '
| | | |
| |) | |
| | A payload stager using PowerShell
(
) ./ _, | Created by z0noxz
|
| |
_/

Traceback (most recent call last): File "power.py", line 2962, in main(sys.argv[1:]) File "power.py", line 2949, in main compile_source() File "power.py", line 2694, in compile_source Print.add_name_value("File signature", hashlib.md5(open(output, "rb").read()).hexdigest(), Print.info) IOError: [Errno 2] No such file or directory: 'windowsbd'

with gcc-mingw-w64-i686 version 8.3.0

after downgrading to 4.9.1 version in debian jessie repository the problem disapeared .

your script requires all these packages gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64

and right now it will only work if these packages came from jessie repository .

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/z0noxz/powerstager/issues/16

z0noxz avatar Dec 15 '19 09:12 z0noxz