Lets write a lil tool,
so we don't need to use #telnet anymore

https://codeberg.org/alceawisteria/DeviceHacking/src/branch/main/routers/TPLink_M7350/proggies/2026-01-10-ShellBrowser

And now we can use (the previously enabled lighttpd listing extended by an html wrapper and make cgi-bin execute *sh.

Without any command line. In the #webbrowser .
❤️ Lovely
Whats that ?
If you copy in a sh onto your router externalSD ?

..
Sure. added a FixPermission button just for that.  

I like #CgiBin . Is nice

(I kinda god bamboozled by FileExplorer putting a lock on the files and them not being written by the sh. Seems like WinSCP handles that better. Darn you #Windows #Fileexplorer )

#repost •acws #acws #m7350 #tplink
傳統的 cgi-bin 遇到現代的硬體

前幾天先在 Lobsters 上看到「Serving 200 million requests per day with a cgi-bin 」這篇,在講上古時期 (1990?2000?) 實作動態網頁頗流行的 CGI 在現代的硬體上跑起來的情況。 CGI 是將資訊透過環境變數設定後,再用 fork() + exec() 執行 script,...

Gea-Suan Lin's BLOG
Ah, the good ol' days of CGI-bin—when every request was a delightful exercise in killing your server performance one CGI script at a time! 😆 Who needs modern efficiency when you can relive the 90s tech #nostalgia by pretending 200 million requests is a walk in the Jurassic Park? 🦖🌐
https://simonwillison.net/2025/Jul/5/cgi-bin-performance/ #CGIbin #90sTech #ServerPerformance #JurassicPark #WebDevelopment #HackerNews #ngated
Serving 200 million requests per day with a cgi-bin

Jake Gold tests how well 90s-era CGI works today, using a Go + SQLIte CGI program running on a 16-thread AMD 3700X. Using CGI on modest hardware, it’s possible to …

Simon Willison’s Weblog
So, you're saying CGI-bin isn't just for retro-website hipsters still living in 1999? 🙃 Who knew that Perl scripts could handle more traffic than a Black Friday sale at a free coffee shop? ☕️📈 Oh, and remember to spawn a new process for every request—because who doesn't love a server on the brink of a nervous breakdown? 😂🔧
https://jacob.gold/posts/serving-200-million-requests-with-cgi-bin/ #CGIbin #PerlScripts #WebTraffic #ServerManagement #RetroTech #HackerNews #ngated
Serving 200 million requests per day with a cgi-bin

In the early 2000s, we used to write a lot of CGI programs. This was the primary way to make websites dynamic at the time. These CGI programs were usually written in Perl, but sometimes in C or other languages to increase performance. The CGI mechanism is conceptually simple but powerful. When the web server receives an incoming request for a CGI script (e.g. /~jakegold/cgi-bin/guestbook.cgi), it: Sets up environment variables containing request metadata (HTTP headers, query parameters, request method, etc.) Spawns a new process to execute the CGI program Passes the request body (if any) to the program via stdin Captures the program’s stdout as the HTTP response Sends any error output from stderr to the error log The CGI program reads the environment variables to understand the request, processes it, and writes an HTTP response to stdout, starting with headers.

Jake Gold

@zombiewarrior

yeah. it's pretty dumb. haha.

but. it is open source and all that good stuff.
wonder why Perl didn't just keep going.

i gues server admins wanted to get away from that who cgi-bin ...
i forget even how that worked!

#Perl
#cgibin
#commongatewayinterface

Friends, I am a total noob developer to CGI and Perl!

So I decided to finally try it.

It is so good and fun! I can totally understand the hype people had when then I was playing in the sandbox, literally in a sandbox.

This is my first CGI server app, screenshot is just amazing. Definitely adding this to my toy Github projects.

#webdevelopment #webhistory #cgibin #cgi #perl #internet #internethistory #server