Better HN
topnewbestaskshowjobs
Log inSign up

chainsaw10

100 karma · joined Feb 28, 2015 (11y ago) · 38 submissions

So I'm currently a computer science student at UMBC. I'm interested in programming, security, and linux.

Email: z1_hackernews+5ef0ae@zackorndorff.com

Website: https://zackorndorff.com/

GPG key fingerprint: 8BCF 4423 CBAF 7F6C 60E3 BBA0 3238 40E9 FC31 AFAA

[ my public key: https://keybase.io/chainsaw10; my proof: https://keybase.io/chainsaw10/sigs/EQuFDdPOk_VsdnKb7oGlp6eYO6t0uwKUiKKg6hnXq-4 ]

Submissions

comment 2mo ago · link · parent

If you click Start > Shut Down and click OK, it’ll say “it is now safe to close this tab”, which I thought was a nice touch.

comment 5mo ago · link · parent

I’m intrigued by this course. However I’m also curious about its prerequisite:

> Machine Learning (e.g. CS221, CS229, CS230, CS124, CS224N) You should be comfortable with the basics of machine learning and deep learning.

Anyone have a good implementation-heavy self-study resource for those topics, or experience with the recorded lectures for those Stanford courses?

comment 7y ago · link · parent

From my reading, it looks they're considering this for only non HTTPS downloads initiated from an HTTPS page

Relevant quotes:

> ... we will likely start by treating certain high-risk downloads initiated from secure contexts as active mixed content and block them.

> We're not planning to focus on non-secure downloads initiated from non-secure contexts at the moment, because users at least see the "Not Secure" omnibox badge on those pages.

comment 8y ago · link · parent

If someone does that with one of my (custom domain) addresses, it won’t work, here’s what I implemented: https://zackorndorff.com/2015/03/10/disposable-email-address...

(To save you a click, they look like aa_COMPANY+SHORTHASH@mydomain.com, with shorthash being based on COMPANY and a secret)

Downside is the address ends up absurdly long, and I’ve had to manually create some aliases for companies that won’t accept the plus.

I don’t recommend this setup, it’s kind of a pain to maintain, but I wish one of the mainstream providers would implement something similar.

comment 8y ago · link · parent

Locally-installed root CAs are allowed by HSTS, so if you added the HTTPS proxy to the root store, this would work without warning, unless you manually checked the certificate.

Of course, this only works on machines you're the admin of, which is why it's allowed.

comment 8y ago · link · parent

So what happens if a hacker hacks company A and uses their server as a jump box to hack company B? Is company B allowed to hack A since their machine was used in an attack?

Or even worse, what if company B is mistaken as to who attacked them? If they "hack back" as advocated, but against the wrong target, are they liable?

comment 8y ago · link · parent

> log in with some criteria more than just a username/password

The problem there is that captive portals don't add any extra link-layer security. The network is open, so literally anyone can sniff packets.

It's uncommon, but a network using WPA2-Enterprise and user/pass uses different keys for each person (not sure if per device or per user), so you don't have to trust everyone in the room.

comment 8y ago · link · parent

Very well said.

To directly answer GP's question:

I took a differential equations class last semester, where the easy part of quite a few problems was to solve a quadratic equation. And it was easy, because my algebra classes had correctly required me to practice that skill (and memorize the quadratic formula).

So, you say, I'm never going to take differential equations. And you very well might not. I have two responses to that:

1) That's true, you might not, but the guy sitting next to you will, and he doesn't even know it yet. If you were allowed to opt out of that subject, you both would, and he wouldn't even have a chance to make up for it later.

2) There are plenty of other subjects where the easy part is an algebra concept, and it's only easy because you practiced it years before.

comment 8y ago · link · parent

> computer security Nobel prize

While they're not as big of a deal AFAIK, we do have the Pwnie Awards: https://pwnies.com/

comment 8y ago · link · parent

You can do something similar with bash. If you set PROMPT_COMMAND='history -a', it'll append to the history file right after the command completes (because the prompt command is run as the prompt is printed).

comment 8y ago · link · parent

radare2 is a disassembler, not a decompiler.

Disassembly is a much easier task than decompilation, since it's a mostly mechanical process. Decompilation requires you to undo the optimizations/transformations the compiler did as it generated the binary, which is much harder.

That said radare2 is still cool, and a GUI (Cutter) is in the works.

comment 9y ago · link · parent

Have you gotten Windows to work well as a guest?

I could never get it to work as well as it does with VirtualBox.

comment 9y ago · link · parent

Ah, okay, that makes more sense.

I guess maybe it was to enable touch on some websites?

comment 9y ago · link · parent

I'm curious as to what good reason there is to have the Android user-agent string contain "Mobile Safari"...

The rest of it looks like fairly standard user-agent string antics.

comment 9y ago · link · parent

It doesn't compile though -- I hope.

I'm pretty sure C keywords require a space on either side...

comment 9y ago · link · parent

Also, somewhere in GNOME settings, there's a setting to enable "emacs mode", which lets you use ^a, ^e, ^k, ^y in normal textboxes.

comment 9y ago · link · parent

> Which would work if licenses and copyrights didn't exist.

I don't think it would.

Dynamic linking allows a library to be patched once and have the patch apply to all the programs using it. If every program was statically linked, you would have to update each one individually.

Not to mention the waste of space.

I'm guessing much of that is moot these days, but IMHO it's still something to aim for.

comment 9y ago · link · parent

I feel like just having a browser extension is a major security hole for any password manager. Yes it's more usable and prevents domain spoofing, but it makes the attack surface huge.

Whereas to exploit a desktop app that doesn't interface with the browser (written in a decent way), you'd need code execution already.

Thoughts?

comment 9y ago · link · parent

> reversing commit hashes back into their contents

Somewhat off topic, but is this actually possible?

Given hashing is inherently lossy, I'm inclined to assume it's not possible for anything must longer than a password, but commits are text, which I suppose is low entropy per character, so I don't know.

comment 9y ago · link · parent

> The bug is in bad js authored by CF

No, the bug is definitely in the browser. Web code is untrusted and should not be able to adversely affect the browser.

comment 9y ago · link · parent

> Why not standardize?

You can't. These apps don't federate, and not everyone uses all of them.

As I wrote this comment, I realized I use more apps than I thought.

I use SMS for some folks, Messenger for others, and Slack, Hangouts, and GroupMe for specific groups.

If I'm in a 5+ person group chat, I can't really ask everyone to move to something else. And I want to hear what's going on, so I keep the app around.

22.

The NFL's Karl Voss(blog.rfvenue.com ↗)

1 points · by chainsaw10 · 10y ago · discuss

comment 10y ago · link · parent

I'm curious: what do you use to enter insert mode then?

comment 10y ago · link · parent

Some recent distros will actually let you run that as yourself, without root, if you're physically present at the machine. It's convenient for personal machines.

comment 10y ago · link · parent

IIRC that meta tag is also used for verification for Google Webmaster Tools

comment 11y ago · link · parent

I don't suppose there's a way to do this from a non-OS X platform, is there?

I'd assume no, but I'm wondering if anyone's found a way.

comment 11y ago · link · parent

> to explicitly lie about it.

Maybe I'm dense or naive, but I don't think there's any precedent for that. A gag order is one thing (and there are certainly places for it), but forcing someone to lie would hopefully violate the First Amendment.

comment 11y ago · link · parent

I think he's abbreviating "internet protocols" to "IPs".

He's asking why we have human-readable/text based protocols vs a binary protocol.

12