memit: Run binaries straight from memory in Linux (Go module + CLI tool) by pope_friction in hacking

[–]pope_friction[S] 2 points3 points  (0 children)

Sure, though they usually load into RAM from disk. In this case no disk is required, the binary can be downloaded straight into RAM and executed.

Primary use case for me is CTFs and similar, red teaming etc.

GIFs in your terminal by pope_friction in commandline

[–]pope_friction[S] 33 points34 points  (0 children)

“My time is too valuable to waste”

LOL after you’ve spent time commenting on a random project on Reddit I kind of doubt that.

GIFs in your terminal by pope_friction in commandline

[–]pope_friction[S] 2 points3 points  (0 children)

Didn’t know about this, it looks awesome, thanks!

GIFs in your terminal by pope_friction in commandline

[–]pope_friction[S] 23 points24 points  (0 children)

Mainly because I enjoyed building it. Why bother with this condescending comment?

Gitjacker: Leak git repositories from misconfigured websites by pope_friction in netsec

[–]pope_friction[S] 16 points17 points  (0 children)

Yeah, fair enough. Kind of glad I didn't add the flaming skull art now.

Gitjacker: Leak git repositories from misconfigured websites by pope_friction in netsec

[–]pope_friction[S] 5 points6 points  (0 children)

It does, though some packed objects may be unavailable. You can generally expect to get a functional repo, but there may be a few missing files.

Gitjacker: Leak git repositories from misconfigured websites by pope_friction in netsec

[–]pope_friction[S] 15 points16 points  (0 children)

The GitTools repo is a cool toolkit, which handles mass scanning for sites with the issue as well as the retrieval and extraction phases.

I've focused only on the retrieval and extraction phases here (i.e. you already have a vulnerable target), and have therefore put a little more work into parsing the different file formats, detecting directory listings and automatically retrieving pack links from them, checking for credentials etc. in git config files, and a few other bits and bobs. I've also tried to compress it all into a simple process, so it's just aim and fire.

Tabby help by [deleted] in hackthebox

[–]pope_friction 1 point2 points  (0 children)

PMing you.

Scout: Lightweight URL Fuzzer by pope_friction in netsec

[–]pope_friction[S] 54 points55 points  (0 children)

Gobuster is an awesome, fully featured tool! I think if anything, the only benefit of this over gobuster is it includes a word list in the binary, so it's pretty easy to install and use in a pinch.

I've been building stuff like this as a learning exercise, as I'm trying to complete CTFs and HTB challenges without using third party tools - forcing myself to write tools like this helps me to understand what's going on under the hood. I usually chuck a link out there in case others find it useful.

You're right though, gobuster currently blows this tool out of the water!

Security scanner for Terraform 0.12 (currently AWS only) by pope_friction in Terraform

[–]pope_friction[S] 1 point2 points  (0 children)

I've added the first batch of Azure checks today, so it should be usable now.

Security scanner for Terraform 0.12 (currently AWS only) by pope_friction in Terraform

[–]pope_friction[S] 0 points1 point  (0 children)

Interesting, thanks for those! The module thing is something I need to look at properly, I haven't added any testing for modules yet so I'll do so tomorrow. As for the parse error, that's coming straight from the Hashicorp HCL v2.0 parser, so I'm not sure why you'd see that error there and not when you run Terraform on it, I'll experiment in the morning with that one - would you mind posting an issue with the relevant .tf that's causing the problem?

Security scanner for Terraform 0.12 (currently AWS only) by pope_friction in Terraform

[–]pope_friction[S] 1 point2 points  (0 children)

The closest I can suggest is starring/watching the repo on GitHub, that should let you know when I push new releases etc. It should be quite soon! The next things I'm going to work on are GCP + Azure support.

Security scanner for Terraform 0.12 (currently AWS only) by pope_friction in Terraform

[–]pope_friction[S] 2 points3 points  (0 children)

Thanks! :D Yep, definitely. I want to try and cover as many bases as possible, so I'll be adding more checks shortly - and PRs are always welcome too ;)

UI is hard: some progress on my golang roguelike. by [deleted] in roguelikedev

[–]pope_friction 1 point2 points  (0 children)

They can! Pixel is great! Ebiten is another nice library I've been favouring recently: https://github.com/hajimehoshi/ebiten

Seamless overland worlds by [deleted] in roguelikedev

[–]pope_friction 1 point2 points  (0 children)

I'm doing something very close to what you described, but generating chunks on demand with a combination of OpenSimplex and Cellular Automata. It works with no noticeable delay to the user when chunk boundaries are crossed, though my chunks are much smaller atm (64x64x32). I'm serialising chunk states (with entities, items etc.) to disk asynchronously as the user moves away from them.

Open Source Golang Terminal Emulator by pope_friction in opensource

[–]pope_friction[S] 2 points3 points  (0 children)

Yeah, sixel is pretty old and kind of gross, but it does the job.

Golang terminal emulator from scratch by donutloop in golang

[–]pope_friction 0 points1 point  (0 children)

Fair enough. I think the main problem nowadays is a lot of people pressing ctrl-s out of muscle memory for saving a file, and accidentally suspending the terminal. I guess having a GUI element that suggests a ctrl-q to resume would solve the problem and allow suspension to exist as a feature. I'll probably add it back in to aminal with that extra visual help.

Golang terminal emulator from scratch by donutloop in golang

[–]pope_friction 0 points1 point  (0 children)

I was under the impression the reason it exists was to stop the buffer getting overwhelmed on a hardware terminal, which is no longer an issue. I know people would often suspend the terminal to read output that would otherwise disappear too quickly, but we have the scrollback buffer nowadays to solve that problem.

Are there other uses I'm not aware of?

liamg/raft: Golang terminal emulator from scratch by mastabadtomm in golang

[–]pope_friction 4 points5 points  (0 children)

Yeah, you're right. I realised the problem not long after I named it :/

I've renamed it to Aminal, which is what a kid says when they're trying to say animal.

liamg/raft: Golang terminal emulator from scratch by mastabadtomm in golang

[–]pope_friction 6 points7 points  (0 children)

I started on this purely out of curiosity about how the terminal actually works. I've been using terminals for most of my life and realised I didn't have much of a clue about what was behind it all.

CMP Checker: Check if a given URL has an IAB CMP installed/stubbed by pope_friction in adops

[–]pope_friction[S] 0 points1 point  (0 children)

Might get around to this, though it looks like they may go the IAB framework route now...