m4ll0k / infoga Goto Github PK
View Code? Open in Web Editor NEWInfoga - Email OSINT
License: GNU General Public License v3.0
Infoga - Email OSINT
License: GNU General Public License v3.0
Hi ! I just want to know if this tool can be used on Windows, Thanks
Error received when search initiated;
sudo python infoga.py --domain domain.com --source google -v 3
Tried installing infoga. it's asking for username and a password.
Infoga rised me error in if 'found' in data['status']:
so I decided to add if data!= ([] or None):
. I dont know if this is a good fix, cause I haven't seen any leaked mail.
I also added to infoga.py:
def search(self,module):
try:
os.makedirs('domains/'+self.domain)
except OSError as exc:
if exc.errno != errno.EEXIST:
raise
emails = module.search()
if emails != ([] or None):
list = []
f = open('domains/' + self.domain + '/mails.txt','a')
for email in emails:
new = True
if email not in self.listEmail:
self.listEmail.append(email)
if email and self.domain:
for n in list:
if n == email:
new = False
if new == True:
list.append(email)
f.write(email+'\n')
f.close()
For making it more confortable.
Another question, why does it takes so many time to print at the end all the emails?
I mean, It saves in seconds the list but it cannot print it?
Thanks for reading
Hi, I like your work and would like to reuse some part of your code in one of my projects.
Please consider adding a LICENSE file.
C:\Users\Mohamadreza\Desktop\osint\Infoga-master>python infoga.py --info [email protected] --breach -v 3 --report m4ll0k.txt
-==[ Infoga - Email OSINT
-==[ Momo (m4ll0k) Outaadi
-==[ https://github.com/m4ll0k
[+] Searching for: [email protected]
[i] Found multiple ip for this email...
[+] Email: [email protected] (74.125.199.26, 64.233.188.27, 74.125.143.26, 74.125.200.27, 108.177.8.26)
Traceback (most recent call last):
File "infoga.py", line 109, in
infoga().main()
File "infoga.py", line 101, in main
PPrint(ips,email,self.verbose,self.breach,self.report).output()
File "C:\Users\Mohamadreza\Desktop\osint\Infoga-master\lib\output.py", line 112, in output
self.file.write('[+] '+email+'\n')
TypeError: a bytes-like object is required, not 'str'
Maybe you want to add Intelligence X as source for finding emails?
Example: https://intelx.io/?s=nsa.gov&pb=1
There's a free SDK with Python sample code: https://github.com/IntelligenceX/SDK
Good moornig,
for an email that haveibeenpwned.com says pwned, the program return "This email wasn't leaked".
What am I doing wrong?
Thanks
/infoga$ pip3 install requests
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.9.1)
python3 infoga.py --info [email protected]
Infoga - Email Information Gathering
Momo Outaadi (m4ll0k)
https://github.com/m4ll0k
Traceback (most recent call last):
File "infoga.py", line 104, in
infoga().main()
File "infoga.py", line 98, in main
data(i,json.loads(self.shodan(i)),email,self.verbose)
File "/usr/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
hey mr m4ll0k ,
your tool doing great i like it, but it's python version 3 not version 2,
i mean the README.md !
It does not work well with haveibeenpwned, I have tried emails and they all tell me that they were not filtered, but on the haveibeenpwned website it tells me that they are filtered. With shodan it is the same, no information was found is what it turns out.
Any solution?
Traceback (most recent call last):
File "tools/infoga/run.py", line 216, in
infoga().main()
File "tools/infoga/run.py", line 201, in main
self.all(self.target)
File "tools/infoga/run.py", line 156, in all
self.baidu(target)
File "tools/infoga/run.py", line 90, in baidu
info(ip,self.shodan(ip),email)
File "tools/infoga/run.py", line 135, in shodan
return shodansearch.ShodanSearch(target).search()
File "tools/infoga/recon/shodansearch.py", line 20, in search
host = self.api.host(self.ip)
File "build/bdist.macosx-10.13-intel/egg/shodan/client.py", line 241, in host
File "build/bdist.macosx-10.13-intel/egg/shodan/client.py", line 201, in _request
shodan.exception.APIError: No information available for that IP.
[!] Failed to establish a new connection
what?
python3 infoga.py --domain test.com --source google --breach --verbose 3
Infoga - Email Information Gathering
Momo Outaadi (m4ll0k)
https://github.com/m4ll0k
[*] Searching "test.com" in Google...
/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
InsecureRequestWarning)
[i] Found 1 emails in Google
/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
InsecureRequestWarning)
[+] Email: [email protected] (85.17.23.119)
| Hostname: mx10.antispamcloud.com
| Country: NL (Netherlands)
| ASN: AS60781
| ISP: LeaseWeb Netherlands B.V.
| Map: Map: https://www.google.com/maps/@52.38239999999999,4.899499999999989,10z (52.38239999999999,4.899499999999989)
| Organization: LeaseWeb Netherlands B.V.
| Ports: [80, 993, 465, 443, 25, 587, 143]
/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
InsecureRequestWarning)
Traceback (most recent call last):
File "infoga.py", line 104, in
infoga().main()
File "infoga.py", line 99, in main
if self.breach:ppwned(self.pwned(email),self.verbose)
File "/root/Infoga/lib/output.py", line 17, in ppwned
if 'found' in data['status']:
TypeError: 'NoneType' object is not subscriptable
Trying your example :
python3 infoga.py --domain cia.gov --source google --breach --verbose 3
Infoga - Email Information Gathering
Momo Outaadi (m4ll0k)
https://github.com/m4ll0k
[*] Searching "cia.gov" in Google...
[i] Found 2 emails in Google
Traceback (most recent call last):
File "infoga.py", line 104, in
infoga().main()
File "infoga.py", line 98, in main
data(i,json.loads(self.shodan(i)),email,self.verbose)
File "/usr/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
Not found information (on shodan) for this email, search this ip/ips on internet..
Infoga fails to do search
File "infoga.py", line 12, in
from lib.check import *
ImportError: No module named lib.check
root@kali:~/infoga# python3 infoga.py
Traceback (most recent call last):
File "infoga.py", line 12, in
from lib.check import *
File "/root/infoga/lib/check.py", line 8, in
from lib.output import *
File "/root/infoga/lib/output.py", line 10, in
from lib.colors import *
File "/root/infoga/lib/colors.py", line 9, in
import color
ModuleNotFoundError: No module named 'color'
Operating system debian 11
######@#######:~/Infoga$ python infoga.py
Traceback (most recent call last):
File "/home/anoam/Infoga/infoga.py", line 12, in <module>
from lib.check import *
File "/home/anoam/Infoga/lib/check.py", line 8, in <module>
from lib.output import *
File "/home/anoam/Infoga/lib/output.py", line 10, in <module>
from lib.colors import *
File "/home/anoam/Infoga/lib/colors.py", line 9, in <module>
import colorama
ModuleNotFoundError: No module named 'colorama'
when i install ,i have this problem. I have searched for the solution to the problem, but I didn't find the answer.
How to remove InsecureRequestWarning alerte
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
Each email searched gives me the same information. Same maps.
I found another github user has forked this project without attribution
https://github.com/CybernetiX-S3C/E-ntel
I have filed a report with github you may want to as well.
Hi,
I have been taking a look at the code and will be sending a pull request later. However, I noticed that in recon
there are redundant classes that could instead be under one "super" class.
If we want to switch from "Ask" to "Baidu" for instance, it would be better to simply change addresses, not rewrite the same code for every website. This follows the DRY principle.
Let me know what you think (and if you are happy for me to work on this).
Thanks,
Nelson
Hi,
I have used Infoga since it was first released. But recently I have noticed that when I search a domain, I do not get an IP address associated with it ... like I used to.
Have you noticed? try it, you will see.
I am using Win 7 with all updates + latest Conda.
Traceback (most recent call last): File "E:\tool\infoga\infoga.py", line 109, in <module> infoga().main() File "E:\tool\infoga\infoga.py", line 101, in main PPrint(ips,email,self.verbose,self.breach,self.report).output() File "E:\tool\infoga\lib\output.py", line 112, in output self.file.write('[+] '+ email +'\n') TypeError: a bytes-like object is required, not 'str'
When I try to save ... and by command infoga.py --domain cia.gov --source all --breach -v 3 --report C:\Users\pc\Desktop\gov.txt
I followed the instructions from the .md:
$ git clone https://github.com/m4ll0k/Infoga.git
$ cd Infoga
$ python setup.py install
$ python infoga.py
At the third command $ python setup.py install
I get the following error on both MacOS and Linux:
Error: Multiple top-level packages discovered in a flat-layout
The full error message from Google Cloud Platform goes like this:
cloudshell:~/Infoga (balmy-tokenizer-372508)$ python ./setup.py install
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['lib', 'recon', 'screen'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
I've installed Infoga but when I get to the set of python setup.py install it shows an error and I can't run the program.
How can I solve this?
[*] Checking info for "[email protected]"
Traceback (most recent call last):
File ".\infoga.py", line 175, in
infoga().main()
File ".\infoga.py", line 157, in main
elif self.source == "all":self.all(self.domain)
AttributeError: 'infoga' object has no attribute 'domain'
you:
headers['User-Agent'] = Request.agent
me:
request.headers.update(headers)
Running the following command:
./infoga.py -t dixie.edu -s all
recieved a traceback error for:
Traceback (most recent call last):
File "./infoga.py", line 226, in
infoga().main()
File "./infoga.py", line 211, in main
self.all(self.target)
File "./infoga.py", line 169, in all
self.exalead(target)
File "./infoga.py", line 119, in exalead
ips = self.uIp(self.tester(email))[0]
IndexError: list index out of range
Like in title. It doesn't matter, which command I will use. Same result - nothing
Example:
-==[ Infoga - Email OSINT
-==[ Momo (m4ll0k) Outaadi
-==[ https://github.com/m4ll0k
[*] Searching "site.gov" in Google...
[i] Found 0 emails in Google
[!] Not found emails... :(
I use dark-arch repository, and manual python installation. Same result.
Info:
lenni@archlinux
OS: Arch Linux
Kernel: x86_64 Linux 6.3.0-x64v1-xanmod1-2
Uptime: 16m
Packages: 845
Shell: bash 5.1.16
Resolution: 3840x1080
DE: KDE 5.105.0 / Plasma 5.27.4
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze-dark
Disk: 100G / 704G (15%)
CPU: AMD Ryzen 7 1700X Eight-Core @ 16x 3.4GHz
GPU: AMD Radeon RX 590 Series (polaris10, LLVM 15.0.7, DRM 3.52, 6.3.0-x64v1-xanmod1-2)
RAM: 2244MiB / 15909MiB
Ther is no reaquierment file
Running the example command from Geeks4Geeks, e.g.: python infoga.py –domain fbi.gov –source google –verbose 3
returns nothing.
Same goes for running a command for a random website with just the domain switch:
python infoga.py –domain www.abv.bg
and
python infoga.py –d www.abv.bg
the response is always:
________________________________________
-==[ Infoga - Email OSINT
-==[ Momo (m4ll0k) Outaadi
-==[ https://github.com/m4ll0k
________________________________________
[!] Not found emails... :(
Also, I don't wanna be a grammar fascist, but grammatically correct way of saying the above would be:
"No emails found", though it sounds cools this way, just a note in case it's not a kind of inside joke or something similar. Anyways, the project is great and very useful!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.