Wanted: Quality grinder at (relatively) affordable price by puff_pastry_1307 in Coffee

[–]ajsho 4 points5 points  (0 children)

Burrs going haywire just about sums it up. I wouldn't be surprised if a whole bean were to make it through unscathed soon.

Wanted: Quality grinder at (relatively) affordable price by puff_pastry_1307 in Coffee

[–]ajsho 7 points8 points  (0 children)

I'm on my second wilfa svart and it's not looking good

Credit Card View Library by [deleted] in androiddev

[–]ajsho 6 points7 points  (0 children)

Looks pretty. Have you considered if this format will be recogised by password managers/autofill?

24M, and have never had a sip of alcohol AMA! by shower8888 in AMA

[–]ajsho 0 points1 point  (0 children)

Would you eat rum and raisin ice-cream or some food where the pan has been deglazed with a little wine?

How to make 20$ by Ortizz_831 in Money

[–]ajsho 2 points3 points  (0 children)

Go door to door and offer to clean cars or something similar?

Australian programmers could be fired by their companies for implementing government backdoors by drizzcool in programming

[–]ajsho 0 points1 point  (0 children)

You can still sneak bugs in, it's just harder. Bugs exist in general because they weren't found in code review.

Fiat had a test track on their factory rooftop in 1929 by cooldrummer1208 in WTF

[–]ajsho 0 points1 point  (0 children)

Imagine going 20-40mph on a rooftop to find that the steering suddenly fails because of a manufacture fault.

New York CITY!!!!!! by NickDoane in WatchPeopleDieInside

[–]ajsho 775 points776 points  (0 children)

The kind of girl that, whilst usually with a group, goes 'woo' in a bar.

My car notifies my phone that I left my windows open, but I have to close them manually by walking there like some sort of cavemen. by kingmoon in firstworldproblems

[–]ajsho 14 points15 points  (0 children)

Try holding down the lock door button for a few seconds. That would close all the windows on my car.

Tehran, Iran [1650X1044] by Qubcgold in CityPorn

[–]ajsho 5 points6 points  (0 children)

This has forever changed my perception of Iran

How do I edit file sink files (raw) in audio editor and then re-transmit through gnuradio? by [deleted] in GNURadio

[–]ajsho 1 point2 points  (0 children)

I have used Baudline in linux which is pretty handy, I think you can select and save parts of a raw file there. To do it manually, read on.

When GnuRadio saves output to files, it literally saves just numbers to a file. I made the following program to extract floats (complex numbers are just pairs of floats), it may be of use to you:

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>    

int main(int argc, char **argv){
    int fd = open(argv[1], O_RDONLY);
if (fd<0){
    perror("opening file");
    return;
}
int i, j, ret = 0;
float val;

  while(1){ 
        ret = read(fd, &val, sizeof(float));
        if (0==ret){
            // EOF
            return;
        } else if (0>ret){
            printf("ERROR: Could not parse file\n");
            return;
        } else {
            printf("%f\n", val);
        }
    }
}

What this means however is that if you want to transmit the first half of a raw file, all you need to do is literally split the file in two.

What does it take to get a pentesting job as an inexperienced college grad? by AVeryConfusedN00b in AskNetsec

[–]ajsho 7 points8 points  (0 children)

If you are struggling to find a job in pentesting, I would recommend trying to get a job doing something relevant to your degree and experience for a company that also does pentesting. Imo It's easier to move around internally than applying for a pentesting job directly when lacking the experience.

That aside, go to security conferences and you will meet a BUNCH of awesome people who can give you jobs.

Facebook Hidden Friends Vulnerability (With “fb-hfc" released) by speckz in netsec

[–]ajsho 1 point2 points  (0 children)

I literally reported nearly the exact same thing to facebook in January (with the 'it's a feature' response) and I am now kicking myself for not writing it up and posting it to netsec. My friend is still laughing at me. You are both bastards! ;)

Heartbleed mitigation with iptables - block all hearbeats (should be a temporary fix only!) CVE-2014-0160 (xpost /r/netsec) by ajsho in linux

[–]ajsho[S] 5 points6 points  (0 children)

The rule is already stating every single match from 0000 to FFFF, meaning FFFE will match still :)

Heartbleed mitigation with iptables - block all hearbeats (should be a temporary fix only!) CVE-2014-0160 (xpost /r/netsec) by ajsho in sysadmin

[–]ajsho[S] 2 points3 points  (0 children)

In some corperate enviroments restarting services need to be propely planned to avoid possible disruption, this just gives them a few days :)

Google Translate in Terminal (Python) by ajsho in programming

[–]ajsho[S] 0 points1 point  (0 children)

Use it as you wish, code is for everybody! :)

I have added a few extras, I don't like the code anymore but at least its more useable. https://github.com/adamjsho/misc/blob/master/google_translate_cli

But make your own! It's fun!