GithubHelp home page GithubHelp logo

alb-310 / geogramint Goto Github PK

View Code? Open in Web Editor NEW
641.0 15.0 79.0 4.81 MB

An OSINT Geolocalization tool for Telegram that find nearby users and groups 📡🌍🔍

License: GNU General Public License v3.0

Python 97.05% kvlang 2.95%
osint python osint-tool telegram telegram-osint projet-fox telegram-nearby-map geolocalization

geogramint's Introduction

Geogramint - OSINT Geolocalization tool for Telegram

GitHub

About

Geogramint is an OSINT tool that uses Telegram's API to find nearby users and groups. Inspired by Tejado's Telegram Nearby Map, which is no longer maintained, it aims to provide a more user-friendly alternative.

Geogramint only finds Telegram users and groups which have activated the nearby feature. Per default it is deactivated.

The tool is fully supported on Windows and partially supported on Mac OS and Linux distributions.

🛠️ Installation

Requirements: Python 3.9, 3.10 or 3.11

On Windows Windows

  • With the installer: Click here!

  • With Github:

git clone https://github.com/Alb-310/Geogramint.git
cd Geogramint/
pip3 install -r requirements.txt

python3 geogramint.py # for GUI mode
python3 geogramint.py --help # for CLI mode

Or depending on your installation :

git clone https://github.com/Alb-310/Geogramint.git
cd Geogramint/
pip install -r requirements.txt

python geogramint.py # for GUI mode
python geogramint.py --help # for CLI mode

On Mac OS macOS and Linux Linux

  • With Github:

git clone https://github.com/Alb-310/Geogramint.git
cd Geogramint/
pip3 install -r requirements.txt

python3 geogramint.py # for GUI mode
python3 geogramint.py --help # for CLI mode

Or depending on your installation :

git clone https://github.com/Alb-310/Geogramint.git
cd Geogramint/
pip install -r requirements.txt

python geogramint.py # for GUI mode
python geogramint.py --help # for CLI mode

More details in the Wiki.

📡 Example: GUI

  1. Start by creating an API key for your Telegram account here. You will also need to put a profile picture on your account and, in your Privacy and Security settings, enable the profile picture for everyone.

  1. Launch Geogramint
  2. In the settings, write your information (api_id, api_hash and phone number), report preference and then save

  1. Choose the location where you want to search, either by moving around the map or by using the search feature with coordinates in lat, lon format

  1. Telegram will send you a verification code, write it in the pop-up window (+ your two-step verification password if you have one)

  1. Then click Start Search
  2. All results will be displayed following:
  • green for 500m
  • yellow for 1000m
  • orange for 2000m
  • red for >3000m

(NB: results can also be found in Geogramint/cache_telegram/ in json and csv format + profiles pictures)

  1. Reset will clear the results and erase the cache_telegram

More details in the Wiki.

📡 Example: CLI

  1. Start by creating an API key for your Telegram account here. You will also need to put a profile picture on your account and, in your Privacy and Security settings, enable the profile picture for everyone.

  1. Launch Geogramint

image

  1. Start with the config, with the command set-config set your information (api_id, api_hash and phone number)

image

  1. Start the search feature by using coordinates in lat lon format with the command start-scan :

image

  1. All results will be displayed following:
  • green for 500m
  • yellow for 1000m
  • orange for 2000m
  • red for >3000m

(NB: results can be exported depending options used with start-scan, by default profile pictures and results in json format are present in Geogramint/cache_telegram/)

  1. reset-scan will clear cache_telegram

More details in the Wiki.

📖 Wiki

Remember to check the Wiki before posting an issue or asking a question.

📝 License

GNU General Public License v3.0

🙏 Thanks to:

geogramint's People

Contributors

alb-310 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geogramint's Issues

Unhandled exception in script

Traceback (most recent call last):
File "geogramint.py", line 244, in
trio.run(Geogramint().run())
File "kivy\app.py", line 955, in run
File "kivy\base.py", line 574, in runTouchApp
File "kivy\base.py", line 339, in mainloop
File "kivy\base.py", line 391, in idle
File "kivy\clock.py", line 783, in tick_draw
File "kivy_clock.pyx", line 662, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 708, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 704, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
File "kivy_garden\mapview\view.py", line 768, in do_update
File "kivy_garden\mapview\view.py", line 880, in load_visible_tiles
File "kivy_garden\mapview\view.py", line 893, in load_tile
File "kivy_garden\mapview\view.py", line 907, in load_tile_for_source
File "kivy_garden\mapview\source.py", line 212, in fill_tile
File "kivy_garden\mapview\downloader.py", line 37, in instance
File "kivy_garden\mapview\downloader.py", line 52, in init
File "os.py", line 223, in makedirs
PermissionError: [WinError 5] Accès refusé: 'cache'

Error everywhere

You must have a profile picture before using this
method (caused by GetLocatedRequest)

EXE after installation don't open

Good evening, I don't know what to try anymore, I installed the program launched and I can't start it, this is the error that appears. I think they are related to libraries, can anyone help me? Win10 Usage

Traceback (most recent call last):
File "geogramint.py", line 400, in
trio.run(Geogramint().run())
File "kivy\app.py", line 956, in run
File "kivy\base.py", line 574, in runTouchApp
File "kivy\base.py", line 339, in mainloop
File "kivy\base.py", line 391, in idle
File "kivy\clock.py", line 783, in tick_draw
File "kivy_clock.pyx", line 662, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 708, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 704, in kivy._clock.CyClockBase._process_events_before_frame
File "kivy_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
File "kivy_garden\mapview\view.py", line 768, in do_update
File "kivy_garden\mapview\view.py", line 880, in load_visible_tiles
File "kivy_garden\mapview\view.py", line 893, in load_tile
File "kivy_garden\mapview\view.py", line 907, in load_tile_for_source
File "kivy_garden\mapview\source.py", line 212, in fill_tile
File "kivy_garden\mapview\downloader.py", line 37, in instance
File "kivy_garden\mapview\downloader.py", line 52, in init
File "os.py", line 223, in makedirs
PermissionError: [WinError 5] Accesso negato: 'cache

Sticking on coordinates

Hi, this is a great tool! Thanks for putting it out there. I've had this issue a few times where the application seems to stick with a previous set of coordinates, even when I reset and sometimes even after closing the program and restarting. This could be an issue on my end with something else I'm running on my computer. Any ideas?

ModuleNotFoundError: No module named 'trio'

New try here!

I´ve installed anaconda to run Python 3.9.

But now I´m getting the following error wen I run :python3 geogramint.py:

_Traceback (most recent call last):

File "/home/osint/Programas/Geogramint/geogramint.py", line 3, in

import trio

ModuleNotFoundError: No module named 'trio'_

Unhandled exception in script

I installed Geogramint-Installer-v1.2.exe file but I get an error when I run the application, what could be the reason for this ? Please see the screenshot.
image (8)

Problem with output

Hi! Everything works, but the output doesn't. Here is the error:

TypeError: init() got an unexpected keyword argument 'path'

And here is the input:

python3 geogramint.py start-scan --output-pdf / 99.999999 99.8999999

ModuleNotFoundError: No module named 'kivy'

I´m running Geogramint in Ubuntu 22.04 LTS with Python 3.10.4 and I´m getting the following error:

_osint@osint:~/Programas/Geogramint$ python3 geogramint.py

Traceback (most recent call last):

File "/home/osint/Programas/Geogramint/geogramint.py", line 7, in

from api import TelegramAPIRequests

File "/home/osint/Programas/Geogramint/api/TelegramAPIRequests.py", line 4, in

from kivy import Logger

ModuleNotFoundError: No module named 'kivy'_

PDF creating problem

Hi there... Still having problem creating PDF report.... can it be solved anyway???? Thanks

Yad - Ubuntu Freezing

First of all.....that osinttracker export tool seems absolutely ace....what a killer!

Little issue here. Installed Geogramint on CSI Linux (ubuntu-based), but whenever the search is complete, yad / the export tool appears to completely freeze and force me to reboot the CSI VM......any idea why this would be?

The export tool does create the navigator pop up on yad, but no click/enter/action appears to trigger anything...tried to sudo apt upgrade yad and associated components but no luck...thank you team!

throws out

throws out at the search stage. Tried different accounts, but the problem is everywhere. You just start searching and exiting telegrams.

openGL 2 "missing"

So I installed Geogramint via the Windows installer and it says that I don't have OpenGL 2.0 installed on my PC. It seems that he's using integrated graphics instead of the 3050 that I have. I tried forcing to use the 3050 in the graphic options, but the problem doesn't go away. I've the latest Game Ready driver, which obviously support OpenGL 2.X. Could you please giv me some advice? Thanks.

install requirements error.

Hi there, I'm getting this error when trying to install requirements.txt:

Collecting reportlab<4,>=3.5.53 (from xhtml2pdf==0.2.11->-r requirements.txt (line 2))
Using cached reportlab-3.6.13.tar.gz (4.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
##### setup-python-3.12.2-macosx-10.9-universal2: ================================================
##### setup-python-3.12.2-macosx-10.9-universal2: Attempting build of _rl_accel
##### setup-python-3.12.2-macosx-10.9-universal2: extensions from 'src/rl_addons/rl_accel'
##### setup-python-3.12.2-macosx-10.9-universal2: ================================================
##### setup-python-3.12.2-macosx-10.9-universal2: ===================================================
##### setup-python-3.12.2-macosx-10.9-universal2: Attempting build of _renderPM
##### setup-python-3.12.2-macosx-10.9-universal2: extensions from 'src/rl_addons/renderPM'
##### setup-python-3.12.2-macosx-10.9-universal2: ===================================================
##### setup-python-3.12.2-macosx-10.9-universal2: will use package libart 2.3.21
!!!!! cannot find ft2build.h
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


And then this when I try to run geogramint.py:

Traceback (most recent call last):
File "/Users/danilo/Documents/Python_Projects/Geogramint/geogramint/Geogramint/geogramint.py", line 5, in
import trio
ModuleNotFoundError: No module named 'trio'

Any help would be much appreciated!

Installation failed with $ pip install -r requirements.txt

When I execute the command $ pip install -r requirements.txt this error occurs:

ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev~=0.3.3 (from versions: none)
      ERROR: No matching distribution found for kivy_deps.gstreamer_dev~=0.3.3
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

bug win app

bro i have bug

after i add hush , phone , code .. is stuck .

Recording.2024-02-18.105214.mp4

error signal in lower right hand corner

Hello -

Apologies if there is an obvious fix - I have zero programming experience and have used Google to figure out how to work this thing. Now, I have finally got it running, but when I press start search, I get this pesky little error image pop up (a red exclamation point) in the lower right hand corner. Please advise! Thank you!

cannot import name 'fitimage' from 'kivymd.utils'

(venv) PS C:\Users\x\Documents\steamvr\Geogramint> python geogramint.py
[WARNING] [Config      ] Older configuration version detected (0 instead of 24)
[WARNING] [Config      ] Upgrading configuration in progress.
[INFO   ] [Logger      ] Record log in C:\Users\x\.kivy\logs\kivy_22-08-26_0.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.3.2
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.4.5
[INFO   ] [Kivy        ] v2.1.0
[INFO   ] [Kivy        ] Installed at "C:\Users\x\Documents\steamvr\Geogramint\venv\lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\Users\x\Documents\steamvr\Geogramint\venv\Scripts\python.exe"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 189 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [KivyMD      ] 1.0.2, git-38fe356, 2022-08-11 (installed at "C:\Users\x\Documents\steamvr\Geogramint\venv\lib\site-packages\kivymd\__init__.py")
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 516.94'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'NVIDIA GeForce GTX 1080/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[INFO   ] [GL          ] Texture max size <32768>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 Traceback (most recent call last):
   File "C:\Users\x\Documents\steamvr\Geogramint\geogramint.py", line 23, in <module>
     from utils import resultDisplay
   File "C:\Users\x\Documents\steamvr\Geogramint\utils\resultDisplay.py", line 6, in <module>
     from kivymd.utils import fitimage
 ImportError: cannot import name 'fitimage' from 'kivymd.utils' (C:\Users\x\Documents\steamvr\Geogramint\venv\lib\site-packages\kivymd\utils\__init__.py)

Python 3.10.5, Windows 10
Git version

Stuck at settings

Promising tool! I installed the latest version, put in my details, but I still get stuck in settings. I´m on Mac, Python 3.11.4
Skjermbilde 2023-11-11 kl  09 53 15

The file won't start.

I try to run the file "geogramint", the console appears for 1 second and immediately disappears. What's the problem?

Login error

[INFO   ] [Geogramint Search] Searching ...
 Telegram is having internal issues AuthRestartError: Restart the authorization process (caused by SendCodeRequest)

Error on submission of the login code.

Will investigate and try to fix soon

[INFO ] [Geogramint Search] Nothing Found

thank , but the app not find any

1080.mp4

08378393, 'seq': 601, 'takeout_id': 0}, channel_states = []
[DEBUG ] Assigned msg_id = 7337429328907692688 to GetLocatedRequest (195eed65e80)
[DEBUG ] Encrypting 1 message(s) in 52 bytes for sending
[DEBUG ] Encrypted messages put in a queue to be sent
[DEBUG ] Waiting for messages to send...
[DEBUG ] Assigned msg_id = 7337429328927726528 to MsgsAck (195fbda5b20)
[DEBUG ] Encrypting 1 message(s) in 36 bytes for sending
[DEBUG ] Encrypted messages put in a queue to be sent
[DEBUG ] Waiting for messages to send...
[DEBUG ] Handling RPC result for message 7337429328907692688
[DEBUG ] Receiving items from the network...
[DEBUG ] Assigned msg_id = 7337429329758416912 to MsgsAck (195fbec6af0)
[DEBUG ] Encrypting 1 message(s) in 36 bytes for sending
[DEBUG ] Encrypted messages put in a queue to be sent
[DEBUG ] Waiting for messages to send...
[DEBUG ] Assigned msg_id = 7337429329771153232 to MsgsAck (195f98bef40)
[DEBUG ] Encrypting 1 message(s) in 36 bytes for sending
[DEBUG ] Handling update UpdateShort
[DEBUG ] Receiving items from the network...
[INFO ] [Geogramint Search] Nothing Found

ImportError: cannot import name 'ressources' from 'utils'

I cant’t start Geogramint with "python3 geogramint.py" on OS X. This is the console output:

Geogramint % python3 geogramint.py
[INFO ] [Logger ] Record log in /.kivy/logs/kivy_22-09-04_3.txt
[INFO ] [Kivy ] v2.1.0
[INFO ] [Kivy ] Installed at "/opt/homebrew/lib/python3.9/site-packages/kivy/init.py"
[INFO ] [Python ] v3.9.13 (main, May 24 2022, 21:13:51)
[Clang 13.1.6 (clang-1316.0.21.2)]
[INFO ] [Python ] Interpreter at "/opt/homebrew/opt/[email protected]/bin/python3.9"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
Traceback (most recent call last):
File "
/Geogramint/geogramint.py", line 7, in
from api import TelegramAPIRequests
File "~/Geogramint/api/TelegramAPIRequests.py", line 8, in
from utils import ressources
ImportError: cannot import name 'ressources' from 'utils' (/opt/homebrew/lib/python3.9/site-packages/utils.py)

Sorry, some lines are strikes through because of markdown syntax.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.