News for hackers. Stuff that matters.
Re:Perl 5.26.0 released by ibn-alfatal on Thursday June 01, 2017 @06:01AM (#14459061)
Perl always reminds me of this guy :) https://media.ccc.de/v/32c3-7130-the_perl_jam_2
Re:Perl 5.26.0 released by kluck on Thursday June 01, 2017 @06:12AM (#14459105)
I watched the video some time ago and what bothers me is that the author pretends to have hacked Perl while in fact he just found that some people are using a commonly used Perl module (DBI) the wrong way whereas the right way is well documented. A similar thing would be to blame PHP for allowing SQL injections through unescaped user input: I am sure it happens a lot, but who would blame PHP.
Re:Perl 5.26.0 released by ibn-alfatal on Thursday June 01, 2017 @07:25AM (#14459392)
Actually, he breaks examples from the manual. I think his point was that programmers inherently write exploitable Perl code as they assume certain types are secure.
Re:Perl 5.26.0 released by floatboth on Thursday June 01, 2017 @03:24PM (#14463582)
The types point is actually meh. The real hilarious part is the combination of the ARGV <> "feature" and the open("...|") "feature". What. The. Fuck.
Re:Perl 5.26.0 released by randallsquared on Thursday June 01, 2017 @07:13AM (#14459342)
Until recently, blaming PHP was the popular approach. :)
Re:Perl 5.26.0 released by baldfat on Thursday June 01, 2017 @07:29AM (#14459402)
Well, every time I meet someone and they say they use PHP for their living my inter monologue is "Don't be a jerk and don't bash PHP, its a fine choice." I usually have to make sure I don't talk with them long and move along. I am a jerk either way.
Re:Perl 5.26.0 released by noir_lord on Thursday June 01, 2017 @07:41PM (#14466041)
Shrugs, it pays the bills and has improved radically since 4 and even 5.

It wouldn't be my first choice but there is plenty of reasonable paying work around.

Re:Perl 5.26.0 released by ab5tract on Thursday June 01, 2017 @06:46AM (#14459239)
Yeah, and I discovered C is horrible because buffer overflows.
Re:Perl 5.26.0 released by twhb on Thursday June 01, 2017 @07:45AM (#14459464)
Is it really Perl best practice to assume all non-scalar data types are trusted?
Re:Perl 5.26.0 released by mirchibajji on Thursday June 01, 2017 @08:16AM (#14459611)
Definitely not. At $work, we use Params::Validate as a standard way to normalise and validate the incoming parameters.