Article View: comp.os.vms
Article #67Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire
From: Arne Vajhøj
Date: Sat, 24 Oct 2026 19:51
Date: Sat, 24 Oct 2026 19:51
70 lines
2996 bytes
2996 bytes
On 10/24/2026 3:42 PM, Dan Cross wrote: > In article <11bivpt$305om$1@dont-email.me>, > Arne Vajhøj <arne@vajhoej.dk> wrote: >> Here is super simple example of DCL CGI: >> >> $ write sys$output "content-type: text/html" >> $ write sys$output "" >> $ write sys$output "<html>" >> $ write sys$output "<head>" >> $ write sys$output "<title>Show time</title>" >> $ write sys$output "</head>" >> $ write sys$output "<body>" >> $ write sys$output "<h1>Show time</h1>" >> $ write sys$output "<p>" >> $ write sys$output "Time is " + f$time() + "." >> $ write sys$output "</p>" >> $ write sys$output "</body>" >> $ write sys$output "</html>" >> $ exit > > I guess Perl could use a "HERE" document for that: > > #!/usr/bin/perl > use warnings; > use strict; > use POSIX qw(strftime); > my $now = uc strftime "%d-%b-%Y %T", localtime; > print <<"EOF"; > <html> > <head> > <title>Show time</title> > </head> > <body> > <h1>Show time</h1> > <p> > Time is $now. > </p> > </body> > </html> > EOF > >> (I chose DCL because with my Perl skills I would >> not bother the Perl gurus here with my way of writing >> Perl) > > "There's more than one way to do it!" DCL can add text blocks as well. But without symbol substiution. $ type sys$input content-type: text/html <html> <head> <title>Show time</title> </head> <body> <h1>Show time</h1> <p> $ $ write sys$output "Time is " + f$time() + "." $ type sys$input </p> </body> </html> $ $ exit Arne
Technical Details
Message-ID:
<11bj28d$313cm$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bcbi1$k068$1@dont-email.me> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <11bivpt$305om$1@dont-email.me> <11bj1n9$kbg$1@reader2.panix.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Arne Vajhøj <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire Date: Sat, 24 Oct 2026 15:51:54 -0400 Organization: A noiseless patient Spider Lines: 70 Message-ID: <11bj28d$313cm$1@dont-email.me> References: <11bcbi1$k068$1@dont-email.me> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <11bivpt$305om$1@dont-email.me> <11bj1n9$kbg$1@reader2.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Oct 2026 19:51:42 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3181974"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195XWyDwGvzls1mEFKt0DWAHtYt/TMOmZY="; posting-host="90629bce1c2634862ed525d6a667363b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:q5Fsy9mvc6TN2GxFtVgrVqRdVR0= sha256:aqThwhlszQ48E/eyZ9H03sB+WXb3510xrWZeSs2HUCw= sha1:9+Haqgjs7wjsON1VGjEPBkVfSl4= sha256:NVS7hTYbwTLvWorXUXYNxGDfxHDf30zFr6rfdbIHZM4= Content-Language: en-US In-Reply-To: <11bj1n9$kbg$1@reader2.panix.com>