binarygolf / BGGP

Binary Golf Grand Prix
44 stars 10 forks source link

Powershell, 6 bytes, with arguments #64

Closed zacharylewis closed 3 months ago

zacharylewis commented 3 months ago

Please fill out the following:

---BEGIN BGGPx---
Submit Date: 6/25/24
BGGP Challenge Number: 5
Author: Zach
Contact Info (Optional): 
Online Presence (Website/Social Media): 
Target File Type: Powershell/PS1
File Size: 6 bytes
SHA256 Hash: CBCDA1E8552C19CBE38E4CA98AAE1A85760EE76E7F67340228D3A84CD57071FB
Target Environment (How do we run the file?): $Env:F=iex $("iwr binary.golf/5/5 -O f;cat f");.\golf.ps1
Any additional info?: It uses a custom environment variable F, the invoke-webrequest commandlet, and local file f
Link to PoC video, screenshot, or console output, if any: 
Link to writeup, if any: 
File contents (base64 encoded please): JEVudjpG
---END BGGPx---

If this is an update to an existing entry, please include a link to your entry below this text. Reminder that authors can only update an entry once during BGGP.

peterferrie commented 3 months ago

---BEGIN VERIFICATION--- Reviewer: qkumba Review Date: 25-june SHA256: CBCDA1E8552C19CBE38E4CA98AAE1A85760EE76E7F67340228D3A84CD57071FB Score: 4090 Note: ---END VERIFICATION---

peterferrie commented 2 months ago

I forgot to say that your entry is added. Thank you. :-)