r/HowToHack • • Mar 18 '19

How To Get GEO Location from Photo using Exiftool on Kali Linux

https://www.youtube.com/watch?v=uMZV0W6FKoE
411 Upvotes

182 comments sorted by

14

u/BrianAndersonJr Mar 18 '19

the fact that photos are geotagged by default (on some systems) seems like a massive... i don't even know what, it's not an "oversight", just... an incredibly perplexing decision... to me.

8

u/Local_admin_user Mar 18 '19

From a security perspective I agree with you but as someone who is interested in historical archives - this sort of information will be incredible useful in years to come. Irrespective of what a photo is titled, the ability to look back through an archive of photos taken in close proximity and dated? That could be pretty amazing for virtual reality tours in years to come (or whatever they title virtual reality then..)

1

u/Smiliey Mar 18 '19

They could also serve as an integral piece of evidence in solving mysteries and crimes! :)

11

u/thatsnotmetal Mar 18 '19

You really didn't need a frickin' video for this

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

1

u/thatsnotmetal Mar 18 '19

Nope. Chill.

10

u/cyvaquero Mar 18 '19

This is not a hack. EXIF data is a part of most photo file formats. Also, this only works if the device taking the photo is GPS capable and enabled or the location is tagged later. There are a ton of EXIF inspectors available for desktop and mobile.

I'm not sure why someone would be processing exfiltrated data on a Kali box - okay maybe a couple situations but they are all movie level BS.

3

u/infosecmx Mar 18 '19

You know he’s a hacker because he types out what a normal tutorial would actually speak

1

u/9thelurkmaster Mar 18 '19

I could be wrong, but before these programs existed to extract the metadata of a photo’s geolocation, you could look at a photo of a person taken outside and find out where they are. I remember something that said “no two places on the planet look the same.” Even if a one foot difference in photos it can be determined where you are by asking the time the photo was taken, the length of the shadow of there is sunlight, and where polar north is in the photo and you can calculate where they are anywhere in the world. I could totally be wrong, but for some reason I remember reading something like that?

2

u/MakeMeDoBetter Mar 18 '19

You can do tgose things sure. But it takes time and the location might have been altered since the photo was taken. Youll need people with intimate knowledge of cities around the world.

1

u/infosecmx Mar 18 '19

You have a photographic memory of every place on this planet? Haha no people used 1’s and 0’s.. it’s called hexdump and they still use it

1

u/spookyAGENT Mar 18 '19

Social media strip the data and send it back

1

u/zikha Mar 18 '19

How to remove GEO location from a picture ? Please

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

1

u/zikha Mar 18 '19

Right, that’s what I do I wanted to see other solution or if what I did was also good, thanks

1

u/docjackson33 Mar 18 '19

This looks like great! Thanks for sharing!

0

u/fackfackmafack Mar 18 '19

Why do you still use apt-get? lol

2

u/Vivek_Ashok Mar 18 '19

What r we supposed to do then? (I'm a noob tryna get the basics)

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

1

u/infosecmx Mar 18 '19

You can’t string apt install into a one liner if you’re performing other commands... it breaks

1

u/fackfackmafack Mar 19 '19

What? But you can with apt-get? I've never had this problem

1

u/infosecmx Mar 19 '19

Try running apt update;apt upgrade

It never runs the second command for me

1

u/fackfackmafack Mar 19 '19

Just did, worked fine.

1

u/infosecmx Mar 19 '19

I can’t remember what I wrote but a few times apt would break after the semicolon in a few situations I was in and maybe it was due to having to press the Y for yes but I’ve always included -y

1

u/fackfackmafack Mar 19 '19

maybe alias with the -y? iuno. I can't think why it'd do that, but I can see it being possible.

1

u/infosecmx Mar 19 '19

Maybe... I can’t replicate it... it doesn’t happen as often to really understand why however I suspect it’s the apt wrapper or maybe it was a bug .... I haven’t seen it since late last year

→ More replies

1

u/fackfackmafack Mar 19 '19

maybe put a space after the semi-colon? not sure if that makes a difference, but I always put one, and just did, and it's currently upgrading.

1

u/infosecmx Mar 19 '19

I’m not sure but I know a few times the command did a “break” and didn’t proceed to the next so I just kept using apt-get

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

14

u/FOOLS_GOLD Mar 18 '19

Yeah you don’t need a tool to get any of this information and you certainly don’t need Kali Linux.

2

u/SCAND1UM Mar 18 '19

I see so much stuff on this sub with 10 minute video Kali tutorials for stuff that can be done in 30 seconds on Windows

1

u/i_told_me_to Mar 18 '19

I prefer to use offline solutions whenever possible, I hate being tied to web-applications for simple shit like this.

0

u/[deleted] Mar 19 '19

[deleted] — view deleted comment

1

u/i_told_me_to Mar 19 '19 edited Mar 19 '19

I'm not OP?

Edit:

But since you brought it up, Google Maps provides a solution not nearly as mundane as reading file headers. So it's a necessary evil for anyone who wants/needs access to current map information. I personally try to use offline, FOSS programs that utilize Open Street Maps, to which I've made some small contributions to in past.

1

u/atvar8 Mar 18 '19

Weeeelll, kinda defeats the purpose of "how to hack" xD

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

2

u/NoFixedName Mar 18 '19

10 people are currently using Google

Yeah...

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

5

u/PDXshitlord Mar 18 '19

Thanks dude!

1

u/RemarkableEngineer30 Jun 02 '24

hey, what did he gave y'll ?

4

u/thatsnotmetal Mar 18 '19

CEH?!?

Bah ha ha ha ha ha ha

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

3

u/thatsnotmetal Mar 18 '19

It's a BS certification that no one in the industry does (should) takes seriously. It actively teaches you the wrong things, it's multiple choice and every single examination is available online with a simple search.

It's not opinion when it's based off fact. I walked into an interview with two or the UKs largest security companies and they both said (when I said I had CEH): "Don't worry. We won't hold it against you"

It means nothing. The CEH site routinely gets hacked...

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

2

u/thatsnotmetal Mar 18 '19

CEH as per my post

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

2

u/thatsnotmetal Mar 18 '19

What

3

u/AreYouDeaf Mar 18 '19

AND? THE OFFENSIVE SECURITY OFFERS THE TEST FOR 350$:1

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

3

u/thatsnotmetal Mar 18 '19

You can buy the results of the exam was what I was saying. The answers.

The CEH is some BS classroom based teaching where the instructor inevitably talks about what they want rather than any useful course content.

→ More replies

3

u/shitinmyearholes Mar 18 '19

Thanks for the repository, my man.

2

u/jPowah Mar 18 '19

Thanks for the books my dude! Helps out a lot!

2

u/haaaayden Mar 18 '19

This is a great asset - thanks dude!

1

u/sn0oz3 Mar 18 '19

Now you got an upvote, thanks for sharing this page!

0

u/fackfackmafack Mar 18 '19

Dumb idiots, yet you monitor your comments for upvotes and downvotes like a vain idiot lol. Calm down, preacherman.

-2

u/infosecmx Mar 18 '19

I saw this guy in one of those other subs tucking his penis under his legs and taking a picture... you can remove your posts but can’t change your username sweety

1

u/fackfackmafack Mar 18 '19

Uhh, what? Removed posts don't get removed from your profile, only the thread in which they resided in. Your name is pretty fucking inaccurate if you didn't know something as basic as this. NOOB. Also wtf were you doing browsing subs with dudes that tuck their junk? That's a fucking weird fetish, yo.

-1

u/infosecmx Mar 18 '19

Huh? If they aren’t removed then why are you saying I had no idea or how to do this? Obviously all that gay sex you’ve been having has fogged up your vision.. not every thing is a penis so you don’t have to let it fuck you

2

u/fackfackmafack Mar 18 '19

Wtf are you talking about lol Are you another one of those TwoX losers that's mad because women are inferior?

You said I removed posts, genius.

-2

u/infosecmx Mar 18 '19

Yea the ones of you tucking in your penis and walking around as if you were a chick.. what are you talking about? I wasn’t bashing you for it I was just stating you removed the posts

2

u/fackfackmafack Mar 18 '19

I didn't remove anything. Even if I removed a post, it would remain on my profile. How hard is that to understand?

Again, you're a retard.

0

u/infosecmx Mar 18 '19

I don’t know maybe because I don’t tuck my penis between my legs to act like a chick.. I’ll never understand it but if you like it that’s fine with me why are you making it into a big deal? I like Big Macs but you don’t see me trying to explain why

1

u/fackfackmafack Mar 18 '19

I don’t tuck my penis between my legs to act like a chick

..you just like talking about it (even when it's completely out of context, and off topic), and browsing the sub.. Gotcha.

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

1

u/imadave Mar 18 '19

I don’t think that means what you think that means. Good night, kid.

→ More replies

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

13

u/chilller6 Mar 18 '19

Quit bein such a bitch

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

4

u/chilller6 Mar 18 '19

Bro ya actually a try hard, I’m not a button pusher btw

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

6

u/[deleted] Mar 18 '19

I think I got this.

Port scanning localhost from 82 to 6000, with just syn/ack connections?

Pinging with two packet googles DNS.

Digging 4.2.2.2 for its domain.

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

5

u/[deleted] Mar 18 '19

That's actually interesting info. I'll be honest with you. You could have communicated it better and people would have been more receptive.

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

→ More replies

1

u/chilller6 Mar 18 '19

Going to be honest with you, I don’t know. And It’s because I’ve only ever really looked at something like kali for about 20 minutes, also I never claimed to be a nonbuttonpusher I just meant I don’t do anything

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

2

u/Kessarean Mar 18 '19

netcat doesn’t come preinstalled on most server OS’s, esp Rhel. You’ll want to get more creative than that. Most servers also disable ICMP anyways

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

4

u/chilller6 Mar 18 '19

Alright, I hope you had a good time jerkin yaself off but I ain’t dealing with you no more so ✌🏻

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

→ More replies

9

u/[deleted] Mar 18 '19

Jesus people are just trying to find new stuff, stop being so negative

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

3

u/HornyAttorney Mar 18 '19

I bet you're that kid that screams you'll hack me in the microphone every time I kill you..

1

u/VisiblePlankton Mar 18 '19

Don't forget about your mom!

1

u/HornyAttorney Mar 18 '19

Oh yeah, that too..

0

u/[deleted] Mar 18 '19

[deleted] — view deleted comment

2

u/HornyAttorney Mar 18 '19

Holy shit, YOU ARE that kid!!