7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions
comment 9y ago · link · parent
Things that are a few clicks in Burp are a few terse keystrokes or key presses in mitmproxy. IDK, give it a shot and see if it makes sense . Most of our team just sticks with Burp FWIW.
comment 9y ago · link · parent
Also, mitmdump is one of the best and fastest ways to get ahold of web requests with Python to modify it on the fly.
http://docs.mitmproxy.org/en/stable/mitmdump.html
I have been using mitmproxy over Burp for day to day web app hacking these days. But we still use Burp scanner for lots of chores. I almost always chain through both to then go back in and use Burp features missing in mitmproxy (exploring site contents, etc.). But those are edge cases mostly needed for professional use and not for tinkering.
comment 9y ago · link · parent
comment 9y ago · link · parent
We deal with this routinely. Solutions tend to vary.
On iOS just use SSL kill switch (if you are jailbroken). If you are not jailbroken you don't have a lot of options. On Android there are some well documented approaches. Usually decompiling the app and adding to the local app's cert store will work and then rearchive and sign it.
Function hooking key network calls can work as well. It is pretty much required that if you want to do serious tinkering or assessment you need a jailbroken or rooted device. This can be a significant effort investment, but once done is generally reliable.
comment 9y ago · link · parent
comment 9y ago · link · parent
Here are some of my favorite Emacs things:
Helm + Projectile. Helm will fuzzy complete almost anything in Emacs. Projectile is project management. Together get to any Git repo and file there in very quick. Helm is an option to compare to IDO. I rarely use IDO due to Helm.
Magit, widely regarded as a good Git UI. Using is believing. Better than command line or most GUIs for me.
Various editing nodes are good enough (Python, Lisp of course, Markdown).
Org mode is it's own beast, but if you like outlines and productivity tools Org is very nice. I use it, not extensively. It holds my todos and meeting notes and makes it easy to ha e very complex notes in one doc.
Basic text editing. I think Vi has some things it does better than Emacs here, but it is still very powerful and rewards learning the finer details.
Realizing you are in a Lisp machine. A calculator is no further than your Emacs window. Learning to hack Lisp and elisp is its own reward.
I think the time spent learning it is worth it. I think the math checks out in terms of efficiency. I also know Emacs is not going anywhere. Same with Vi.
There is much more to it all, but these are things off the top of my head. There are many smaller things that connect up how I work via Emacs... But there is a lot to it.
comment 9y ago · link · parent
"There is a muse, but he’s not going to come fluttering down into your writing room and scatter creative fairy-dust all over your typewriter or computer. He lives in the ground. He’s a basement kind of guy. You have to descend to his level, and once you get down there you have to furnish an apartment for him to live in. You have to do all the grunt labor, in other words, while the muse sits and smokes cigars and admires his bowling trophies and pretends to ignore you. Do you think it’s fair? I think it’s fair. He may not be much to look at, that muse-guy, and he may not be much of a conversationalist, but he’s got inspiration. It’s right that you should do all the work and burn all the mid-night oil, because the guy with the cigar and the little wings has got a bag of magic. There’s stuff in there that can change your life. Believe me, I know."
I think most on Hacker News would agree with this sentiment. If you aren't putting in the work how can you expect the muse to give you inspiration? You must lay the framework of creativity in your mind in order for it to strike. It is like the medium of an agar plate you use to grow critters in a lab, only in your mind you must create this medium by hard work and laying the framework. Sure inspiration strikes at times with or without this work, but (for me) it reliably strikes when I put in the work.
GTD is almost meta to this. It is just a system to keep your plate free to do your important work and prioritize your important work. It eliminates the mental clutter so you can focus on what is important. Many other productivity and self help systems all go down that same path. But it doesn't get at the core discipline of being regular and scheduled that is almost a requirement as a professional.
comment 9y ago · link · parent
MacOS? Always innovating with new "features" like APFS. Are they truly making the OS easier to use in some novel way for non technical users? Are they improving things for technical users? I know technology changes and APFS is supposed to make SSDs better, but... the general sentiment is just what you stated.
My iPhone 4 used to work great with a given OS. All it needed was security updates for 3+ years, instead after about 2 the latest updated was unusable. iOS "improvements" were very hit and miss. Some were good, some were not. I do not mind mobile OS improving as much though.... that hardware has still been improving rapidly offering much better features so the more rapid OS updates kind of make sense there in terms of supporting the latest hardware.
But laptops? What has changed.....
The f* touch bar? The amazing keyboard? The Retina display?
Only one of those was a real innovation and it has been supported for a long time.
/extra_rant
comment 9y ago · link · parent
This machine on 1604 is a dream so far. I do see Dell has more production issues, especially on XPS machines. Intel WiFi is a must. I learned a lot about what Dell does best on the 13" XPS.
comment 9y ago · link · parent
Tools like IDA Pro, Binary Ninja, and Hopper make this quite easy. A good hex editor and knowing the file offsets is also fine. This is seen as magic because it is a bit of a lost art, but it turns out to be easy to learn.
Check out "crackmes" if anyone has become interested in this topic of mangling binaries by hand. They are fun and you will get results quickly on the easier challenges.
Also check out Microcorruption CTF.
comment 9y ago · link · parent
We do this as a matter of course all the time. Patching a small handful of instructions is pretty easy. You could learn to do it on a week or less if you are a decent programmer.
Do it well? Do it quickly? Do it idiomatically and in a short amount of time.... Takes real skill.
comment 9y ago · link · parent
I think he was talking mostly about size.
Odds are good most programmers tinkering in machine code won't beat the performance of the compiler. That takes experience. It is a good rule of thumb.
I think it is easier to write smaller (size) code than a compiler, but when you measure performance it will beat you often until you get good. Alignment, x86 tricks... It takes a bit of knowledge to do well.
comment 9y ago · link · parent
It is 2017 and I finally own a laptop with 32GiB of ECC(!) RAM. That is pretty damn cool. Allow me to roll out my specs, just cause I love this laptop:
* Quad Core Xeon (1505M)
* Discrete GPU with acceptable gaming performance and great at cracking passwords in a pinch
* 32 GiB of ECC RAM
* 1920x1080 15.6" (144ppi) display with no mic or web cam
* An actually decent keyboard
* Touchpad that is actually nice
* So many ports. All the ports. The best ports (4 USB-3, 1 USB-C, HDMI, mini DP, Ethernet, SD Card slot, Smartcard Slot)
* For the cost of equivalent Applecare, someone will show up to my house same day and fix this beast if something breaks
* Expandable and replacement storage and memory
Tell me all those ports don't make you a little jealous if you are using a Macbook, I won't believe you ;). It does come at he cost of this laptop being a bit chunky, so it won't be for everyone. You can also get it with a HiDPI display, but I actually prefer things right in this 120-144ppi range more than Retina.
It is just a great computing package. End of story. I also still love my 2013 MBP. It is also a beautiful machine for its own reasons, so I am no Dell / Linux fanperson, but I have a bit of a crush on this laptop as I just got it about a month ago :)
comment 9y ago · link · parent
I must agree that the support of high DPI displays is not optimal just yet. However, it is not that bad. At a corporate level one person can do the tweaking and create a great user experience for an entire organization.
Given the amount of tweaking and "management" goo organizations foist upon the average OSX installation blasting out a few lines of DPI tweak commands is almost nothing.
So it just works in the sense that you can do sane configuration activity and it behaves as you might expect.
Also, Unity out of the box is still pretty good on a scale like this: very bad, bad, tolerable, pretty good, good, great. It does "just work" for the most part :)
comment 9y ago · link · parent
I wonder how different 7510 is over the others. This one is not my beloved mechanical keyboards, but it does not fatigue my hands at all, and has a full numpad :)
comment 9y ago · link · parent
I only kicked the tires on the discrete GPU.
I have been looking at this now. It seems, according to `turbostat` that one core reaches 3000mhz (indicating turbo is not kicking in), but... see below:
I have https://ark.intel.com/products/97463/Intel-Xeon-Processor-E3... so Turbo should hit 4ghz
I tried this:
https://askubuntu.com/questions/871308/enabling-disabling-tu...
and put a 1 in /sys/devices/system/cpu/intel_pstate/no_turbo and it dropped the cpu frequency from ~2700 to 2200 according to the `turbostate` command. However, when I run i7z it reports a frequency of 3000 (maximum frequency without turbo), which is correct, and a frequency of ~3600 mhz (freq multiplier of 36x, which is one of a possible 40x, 38x, 37x, and 36x turbo multipliers) so I /think/ it is doing the right thing. I am going to assume turbostate is not correctly reporting the frequency using the correct multiplier, but that may not be true.
It is definitely scaling the CPU speed. And, anecdotally, it compiles things very quickly :)
What sort of investigations have you performed?
comment 9y ago · link · parent
Highlights:
32 GiB of RAM
15" 1920x1080 FHD matte screen with no mic or webcam
1TB storage
Xeon processor (equivalent to top end Mac processor)
So... Many... Ports
Battery life with screen I picked is amazing
Ability to fully customize the beast
Painless Linux experience (truly).
Down sides:
Heavier than a MBP
A teeny bit of coil whine
Charger is 180W....and big too
Cost -- as much as a rMBP, but for the dollars the hardware is dramatically better in the areas I care about. Go spec it out if serious and make own decision though :)
I love this computer. I know some people may consider the 1920x1080 15" screen not as nice as Retina (you can get a Retina density display on the 7520 if you want), but I find 144ppi perfect for 15". Better than anything of yesteryear. Also I was able to get /exactly/ what I wanted at each option for a reasonable price and no compromises. Anyhow I can finally tell people this is a good idea if you are comfortable on Linux.
comment 9y ago · link · parent
It is only hops added as the wort cools down, or during the dry hopping process, that contribute to the moral floral and piney flavors some IPAs have. This is why beers such as Dogfish ehad 60 and 90 minute IPAs are so popular, because they used a continuous hopping rate which meant many of the hop flavors end up in the beer and not just making it bitter.
Course experienced brewers know about hopping schedules and dry hopping, but...
comment 9y ago · link · parent
Pixel is an amazing phone and aside from the privacy aspects... I can't see needing more phone. The camera is better than any phone camera I have ever used.
We need to get away from the Android / iOS duopoly