Code Monkey home page Code Monkey logo

infoga's People

Contributors

brannondorsey avatar deneb1729 avatar fabaff avatar greenmind-sec avatar josue87 avatar kaliram850 avatar m4ll0k avatar nanowinner avatar v3rb0se 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  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

infoga's Issues

python setup.py install error

python setup.py install :
returns error: Multiple top-level packages discovered in a flat-layout: ['lib', 'recon', 'screen'].

Screenshot 2023-08-30 181302
59c963cb25)

Question

Hi ! I just want to know if this tool can be used on Windows, Thanks

Issues on lib/output.py

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

License

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.

a bytes-like object is required, not 'str'

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'

This email wasn't leaked

Good moornig,

for an email that haveibeenpwned.com says pwned, the program return "This email wasn't leaked".

What am I doing wrong?

Thanks

JSON object must be str, not 'bytes'

I'm receiving this error when I search for a specific email

/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'

great tool

hey mr m4ll0k ,
your tool doing great i like it, but it's python version 3 not version 2,
i mean the README.md !

haveibeenpwned??

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?

Problem with Shodan API

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.

TypeError: 'NoneType' object is not subscriptable

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

TypeError: the JSON object must be str, not 'bytes'

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'

error in imports

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'

error with setup

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'

Redundancies in classes

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

No IP returned

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.

TypeError: a bytes-like object is required, not 'str'

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

Multiple top-level packages discovered in a flat-layout error when I run the `python setup.py install` command

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.

python setup.py install

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?

Problem with email search

[*] 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'

Issue in exalead

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

Infoga not showing any result

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

Geeks4Geeks example returns nothing; Same goes for any other example I find online

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!

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.