Skip to content

Commit

Permalink
Backtracking on restructuring for the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
franckferman committed Oct 11, 2023
1 parent a97b371 commit 6bcb2bb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 33 deletions.
4 changes: 2 additions & 2 deletions src/MetaDetective.py → MetaDetective.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Created By : Franck FERMAN @franckferman
Created Date: 27/08/2023
Version : 1.0.3 (11/10/2023)
Version : 1.0.2 (03/10/2023)
"""

import argparse
Expand Down Expand Up @@ -191,7 +191,7 @@ def get_address_from_coords(lat: str, lon: str) -> str:
"""
try:
conn = http.client.HTTPSConnection("nominatim.openstreetmap.org")
headers = {'User-Agent': 'MetaDetective/1.0.3'}
headers = {'User-Agent': 'MetaDetective/1.0.2'}
conn.request("GET", f"/reverse?format=jsonv2&lat={lat}&lon={lon}", headers=headers)

res = conn.getresponse()
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:bullseye-slim

LABEL maintainer="Franck FERMAN <[email protected]>" \
description="MetaDetective: A Python 3 tool designed for advanced metadata analysis pivotal in OSINT and pentesting." \
metadetective_version="1.0.3" \
metadetective_version="1.0.2" \
docker_image_version="1.0.0"

RUN apt-get update && apt-get install -y \
Expand Down
28 changes: 0 additions & 28 deletions src/pyproject.toml

This file was deleted.

2 changes: 0 additions & 2 deletions tests/test_MetaDetective.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
from unittest.mock import Mock, patch
import unittest

sys.path.append("src/")

from MetaDetective import (check_exiftool_installed, dms_to_dd, get_address_from_coords,
get_files, get_metadata, matches_any_pattern, show_banner)

Expand Down

0 comments on commit 6bcb2bb

Please sign in to comment.