Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One liner doesn't generate #3

Closed
MrPayne opened this issue Dec 18, 2017 · 2 comments
Closed

One liner doesn't generate #3

MrPayne opened this issue Dec 18, 2017 · 2 comments

Comments

@MrPayne
Copy link

MrPayne commented Dec 18, 2017

I've got the conversion portion working, but when the second file is generated, there is no one-line string generated off of the IEX([System.Text.Encoding]::ASCII.GetString variable.

@davidgerrard
Copy link

For me, I got the one-liner to execute, but the GetString call was:

IEX([System.Text.Encoding]::ASCII.GetString($o[0..30])) and should have been:

IEX([System.Text.Encoding]::ASCII.GetString($o[0..33]))

@peewpw
Copy link
Owner

peewpw commented Apr 18, 2018

GetString definitely needed another byte in its array, but unless you had a one character script, that shouldn't have been the root cause here.

@peewpw peewpw closed this as completed Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants