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

fix artifact and document how to compile #152

Open
gogo2464 opened this issue Jun 2, 2023 · 3 comments
Open

fix artifact and document how to compile #152

gogo2464 opened this issue Jun 2, 2023 · 3 comments

Comments

@gogo2464
Copy link

gogo2464 commented Jun 2, 2023

I got a bug on the latest release. So:

I download latest artifacts from https://github.com/pwntester/ysoserial.net/actions/runs/5154471291

Then I realized these one had bugs

.\ysoserial.exe -f BinaryFormatter -g TypeConfuseDelegateMono -o raw -c "calc"

Exception non gérée : System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à ysoserial.Generators.TypeConfuseDelegateMonoGenerator.TypeConfuseDelegateGadget(InputArgs inputArgs) dans D:\a\ysoserial.net\ysoserial.net\ysoserial\Generators\TypeConfuseDelegateMonoGenerator.cs:ligne 83
   à ysoserial.Generators.TypeConfuseDelegateMonoGenerator.Generate(String formatter, InputArgs inputArgs) dans D:\a\ysoserial.net\ysoserial.net\ysoserial\Generators\TypeConfuseDelegateMonoGenerator.cs:ligne 43
   à ysoserial.Generators.GenericGenerator.GenerateWithInit(String formatter, InputArgs inputArgs) dans D:\a\ysoserial.net\ysoserial.net\ysoserial\Generators\GenericGenerator.cs:ligne 75
   à ysoserial.Program.Main(String[] args) dans D:\a\ysoserial.net\ysoserial.net\ysoserial\Program.cs:ligne 302

So I tried to compile from source and I saw no documentation.

Could you first fix the artifact and then provide compilation documentation please?

@gogo2464
Copy link
Author

gogo2464 commented Jun 2, 2023

@irsdl I mention you because you are the author of https://github.com/pwntester/ysoserial.net/pull/127/files

@irsdl
Copy link
Collaborator

irsdl commented Jun 2, 2023

Thanks, I need to look into this when I get the chance probably in the next coming month. I have a feeling you will need to run ysoserial.net using mono to get this gadget working but I can't fully remember it. Please let me know if you have tried that and it didn't work.

@gogo2464
Copy link
Author

gogo2464 commented Jun 2, 2023

I tried with a real target... IT did not worked but I may have done a mistake.

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

2 participants