Article View: news.admin.peering
Article #3755Re: filter_nnrpd.pl - patch v0.0.1 - not tested
From: Sn!pe
Date: Mon, 04 Aug 2025 23:35
Date: Mon, 04 Aug 2025 23:35
29 lines
3019 bytes
3019 bytes
Billy G. <no-reply@no.spam> wrote: > On 04.08.25 23:55, Billy G. wrote: > > ## ?? **How to Fix These Issues** > > > > Would you like me to create a secured version that: > > 1. Validates and sanitizes all file paths > > 2. Uses proper shell escaping or avoids shell calls entirely > > 3. Implements secure temporary file generation > > 4. Adds comprehensive input validation > > 5. Uses prepared statements/safer execution methods > > > > This code is **extremely dangerous** in its current state and should not > > be deployed without these security fixes! > > Billy prompts: > yes go ahead, we should not have any varis hitting the filesystem. > better use any kind of (weak) hashing. > > AI answers: > Absolutely! > Let me create a secured version that uses hashing for all filesystem > operations and eliminates the security vulnerabilities. [...] > This no-nothing user is *very* impressed! Does it work? -- ^Ï^. Sn!pe, PTB, FIBS My pet rock Gordon just is.
Technical Details
Message-ID:
<1rgkhkl.1a81n9b16f955pN%snipeco.2@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!snipe.eternal-september.org!.POSTED!not-for-mailReferences:
<106qp4f$qu2g$3@reader-nyc.newsdeef.eu> <106rdpj$qu2g$4@reader-nyc.newsdeef.eu> <106rers$qu2g$5@reader-nyc.newsdeef.eu>Show Full Headers
Complete Article Headers
Message-ID: <1rgkhkl.1a81n9b16f955pN%snipeco.2@gmail.com>
Subject: Re: filter_nnrpd.pl - patch v0.0.1 - not tested
Date: Tue, 5 Aug 2025 00:35:13 +0100
From: snipeco.2@gmail.com (Sn!pe)
References: <106qp4f$qu2g$3@reader-nyc.newsdeef.eu> <106rdpj$qu2g$4@reader-nyc.newsdeef.eu> <106rers$qu2g$5@reader-nyc.newsdeef.eu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!snipe.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.admin.peering
Organization: Sn!peCo World Wide Wading Birds
Lines: 29
Reply-To: snipeco.1@gmail.com (Sn!pe)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 04 Aug 2025 23:35:14 +0000 (UTC)
Injection-Info: snipe.eternal-september.org; posting-host="4dd409abf3157e5e642e69b4077c1472";
logging-data="2588368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kVDp35+ABsASiSN4XwaBT"
User-Agent: MacSOUP/2.8.6b1 (ed136d9b90) (Mac OS 10.13.6)
Cancel-Lock: sha1:kWaoj2JgY44h4nHhbGcUJsjpA0k=
X-Validate: All genuine Sn!peCo articles contain the header:
"Injection-Info: snipe.eternal-september.org;" my registered FQDN.
X-Face: 5<x+vv{"AHN,F~/dhf,X*~1zNv[TF/WUe(Uw.*ZOw\P'Ju]C6].T~7Z5cVjV\xTO6&)1#VQ
iZ4vFDG
X-Disclaimer: Any advice that I may give is worth only what I paid for it.
This article comprises only my personal opinions unless otherwise stated.
May contain traces of nuts.
X-Keywords: Ignore tests.
X-Clacks-Overhead: GNU Terry Pratchett; WonK; Large Enid; Lydia Dustbin
X-Tongue-In-Cheek: Always
X-Copyright: Copyright (c) 2025 Sn!peCo WWWB, All Rights Reserved.
This article may be reproduced for the purposes of propagation and
personal use only, no commercial use without express permission.