HNHacker News
TopNewBestAskShowJobs

wglb

69,558 karma · joined January 13, 2008

At home, Simple country boy wgl at ciexinc.com twitter: @wgl8 w8lvn, 7019, 3519, 1819 and occasionally 7074.000

Formerly at kCura/Relativity, security. I do application penetration testing for hire these days. Happy to chat about application security, programming, and ham radio. My conversations about agriculture are not that interesting.

Security: https://ciexinc.com/ Of particular interest are the solarwinds articles at https://ciexinc.com/blog/solarwinds/index.html Old very fun projects: https://ciex-software.com

“Eventually, all things merge into one, and a river runs through it. The river was cut by the world's great flood and runs over rocks from the basement of time. On some of the rocks are timeless raindrops. Under the rocks are the words, and some of the words are theirs.

I am haunted by waters.”

Beware the anxiety industrial complex.

submissionscomments
wglb··on DNS Nerds Don't Control the Internet (2016)
Since almost nobody uses DNSSEC and mail is delivered anywhere. No need to mention it in the articles.
wglb··on First flat telescope lens that captures color, detecting light from stars
Applied Physics Letters: https://pubs.aip.org/aip/apl/article/126/5/051701/3333379/Co...
wglb··on DNS Nerds Don't Control the Internet (2016)
No.

For additional info, see https://sockpuppet.org/stuff/dnssec-qa.html and https://sockpuppet.org/blog/2015/01/15/against-dnssec/

wglb··on New dwarf galaxy discovered in the halo of Andromeda galaxy
Link to paper: https://arxiv.org/abs/2502.09792
wglb··on I Went to SQL Injection Court
Is the parser available for review?
wglb··on EA Open Sources Command and Conquer: Red Alert, along with other games
It would be easy enough for you to validate. Just start with the “comments” tab and keep up for one day.
wglb··on Hydrogen cyanide and acetylene detected in a brown dwarf
Arxiv paper https://arxiv.org/abs/2502.13610
wglb··on EA Open Sources Command and Conquer: Red Alert, along with other games
Between 2025-02-26 at 10:20 and 24 hours later, there were 10563 posts to HN.

So it is simply not humanly possible.

wglb··on There isn't much point to HTTP/2 past the load balancer
Sometimes the moderators will effectively boost a post that they think is interesting so it gets more views.
wglb··on EA Open Sources Command and Conquer: Red Alert, along with other games
Best to email hn@ycombinator.com; dang can't possibly read all comments.
wglb··on I Went to SQL Injection Court
> Actually, yes

That is good. I have long believed that "if it is not tested, it is broken"

wglb··on State of emergency declared after blackout plunges most of Chile into darkness
If you have two AC generators connected to a load and one of them shifts is phase any amount ahead of the other one, the second one becomes a motor. Power flows in proportion to the difference in phase angle.
wglb··on State of emergency declared after blackout plunges most of Chile into darkness
My professor did that for Bonneville Power Administration. I worked on a tiny piece of his modelling software. A short writeup of it https://ciex-software.com/fmcmx.html
wglb··on I Went to SQL Injection Court
Hurdles mean nothing to a determined penetration tester. Unless you have watched one in action, or tried an exercise yourself against a hard target, it is likely to surprise you how little "hurdles" mean.
wglb··on I Went to SQL Injection Court
I've seen this done by enumerating possible table names.
wglb··on I Went to SQL Injection Court
The parser isn't shown there, so it isn't clear what would happen with weird input.

Have you had anyone do a penetration test on it?

wglb··on I Went to SQL Injection Court
Injections don't always need ''. The statements

  1=1
and

  1=0
if injected into a query will give different answers if SQLI exists.

There are MANY other tricks that don't involve ''.

Besides, consider the number of valid queries done by the application that involve '*'. You are not going to turn that off.

wglb··on I Went to SQL Injection Court
> "query failed" or "query succeeded, here's the data"

Blind SQL injection is a type where no error is produced, but some subtle signal can indicate success or failure. The most interesting one that I know about is where the presence of a successful injection was a normal looking response that was one byte longer than an unsuccessful injection. This was used to not only figure out the schema, but to fully exfiltrate the entire database.

There is nothing in the log on the server that indicates an error.

Most of the relatively introductory SQL injection exercises that I taught proceed without any knowledge of the schema.

This is why SQL injection is so insidious.

wglb··on I Went to SQL Injection Court
Sanitization almost always fails. This becomes an arms race.
wglb··on I Went to SQL Injection Court
I once did an security assessment for a product such as what you describe. Among other problems with it, the product itself had SQL injection vulnerabilities

For another example of what defenders are up against, see https://users.ece.cmu.edu/~adrian/731-sp04/readings/Ptacek-N.... This paper all but caused an upheaval in the WAF industry.

wglb··on Clean Code vs. A Philosophy Of Software Design
Not part of smalltalk.
wglb··on Clean Code vs. A Philosophy Of Software Design
Downvotes are a legitimate expression of disagreement, not hate.
wglb··on Clean Code vs. A Philosophy Of Software Design
What UB's description of how to do TDD does not suggest that there are problems that require a different level of thinking and TDD as he describes, does not account for that.
wglb··on Clean Code vs. A Philosophy Of Software Design
A Discipline of Programming, Dijkstra

The architecture of Concurrent Programs, Per Brinch Hansen

Literate programming--see http://www.literateprogramming.com/

I don't recommend Design Patterns, as these are elements needed if your programming language is inadequate.

There are many more.

wglb··on Clean Code vs. A Philosophy Of Software Design
I did that back in the day (before we could click on anything) about what the compiler was thinking as it generated the code. That was fun.
wglb··on Clean Code vs. A Philosophy Of Software Design
> Shit-talking while hand-waving adds nothing to the discussion.

This is not presuming good faith, as he guidelines ask that we do.

wglb··on Clean Code vs. A Philosophy Of Software Design
> I'm starting to believe all these vocal critics who criticize Uncle Bob or Eric Evans or any other author are actually talking out of sheer ignorance about things they know nothing about.

I've been programming for 60 years in many different fields. I was programming long before he was. It is possible that I have written more code than he has in more languages (36 at last count), so my criticism of his are based on real-world experience.

wglb··on Clean Code vs. A Philosophy Of Software Design
> I haven't seen a lot of evidence that Martin really has the coding chops to speak as authoritatively as he does

From what I can deduce, his major coding work was long in the past, and maybe in C++.

wglb··on Clean Code vs. A Philosophy Of Software Design
> I care whether it results in effective, maintainable software with low defect rates.

This is what it is about. All the other things that have been invented need to be in service of this goal.

wglb··on Clean Code vs. A Philosophy Of Software Design
> Why would you not focus on writing OO code in an OO language

It should be the best solution to the problem direct whether or not use of OO is best, not the language.

← PreviousPage 11 of 34Next →