diff --git a/.gitignore b/.gitignore index a7473bd..739346c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -**/.DS_Store +.DS_Store /bin diff --git a/README.md b/README.md index 3925abf..88f656d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # ipaddrgen 👩‍💻 - -## the funny ip address generator +### the funny ip address generator a small cli program written in go that generates random ip addresses and "does things" to them. @@ -10,11 +9,11 @@ a small cli program written in go that generates random ip addresses and "does t *legal disclaimer: no this isn't a "hacking" tool, it's a goofy piece of software that spits text out onto the screen and nothing more. I wholeheartedly encourage that this software be used in le funny hacking montage.* -## screenies 📸 +# screenies 📸 ![ipaddrgen in action](screenshots/v1term.png) -## use it! ✨ +# use it! ✨ [download](https://github.com/mellodoot/ipaddrgen/releases/latest) whichever version is compatible with your OS (if such a version isn't listed, I'm so sorry!), then run it via your terminal! @@ -22,14 +21,14 @@ i.e. `./ipaddrgen-PLATFORM-ARCH` for help with command-line arguments (for some fun customisation), try `./ipaddrgen -h`! -## build it! 📀 +# build it! 📀 -### requirements +### requirements: - [go](https://go.dev/) (currently using 1.17.6) - that's about it -### how +### how: windows: `go build -o ./bin/ipaddrgen.exe ./src` diff --git a/src/main.go b/src/main.go index e4eab6d..0a756b6 100644 --- a/src/main.go +++ b/src/main.go @@ -17,12 +17,17 @@ import ( // === internal vars (no need to edit these!) === var running bool +var i_was_IPv6 = false +var i_was_ported = false var i_last_method string var i_methods []string //go:embed methods.txt var i_methods_file embed.FS +//go:embed help.txt +var i_help_file embed.FS + // === timings === // minimum wait for an update (ms). @@ -45,7 +50,7 @@ var port_chance = 0.05 func main() { - if argIndex("h") >= 0 || argIndex("help") >= 0 { + if argIndex("h") >= 0 { showHelp() return } diff --git a/src/methods.txt b/src/methods.txt index c59d8e0..77960be 100644 --- a/src/methods.txt +++ b/src/methods.txt @@ -131,16 +131,6 @@ causing a ruckus on grossly offending nullnullnull doing indescribable things to -doing unspeakable things to -doing outrageous things to -doing silly things to owning sending your minecraft base coordinates to -melting -dumping on -'boutta bust a nut on -exposing search history for -sending prayers to -saying night night to -giving up on -never gonna give up on +melting \ No newline at end of file