Skip to main content

We will try to find your visible basic footprint from social media as much as possible

Project description

Sharingan

We will try to find your visible basic footprint from social media as much as possible

中文版: Readme_cn

Environmental

First, ensure that you have installed the python3.8+ , and then run the following commands.

git clone https://github.com/aoii103/Sharingan.git

cd sharingan

python3 setup.py install

or via pip

pip install sharingan

Usage

python3 -m sharingan blue

Add New Targets

I have considered using JSON as the site's configuration file, but later wrote it in extract.py

And what we need to do is add the following method under class Extractor, where the def upload method stores the basic configuration of the corresponding site

For optional configurations, see models.py

    @staticmethod
    def __example() -> Generator:
        """
            1. <-- yield your config first
            2. --> then got your datas back
            3. <-- finally, yield the extracted data back
        """
        T = yield from upload(
            **{
                "url": "http://xxxx",
            }
        )

        T.name = T.html.pq('title').text()
        ...

        yield T

Singel Test

Sometimes we need to test for a new site

And we can use the following code . for example, when the target is twitter

python3 -m sharingan larry --singel=twitter

Create sites from sherlock

run the following command first

python3 -m sharingan.common

and it will create a python file named templates.py

    @staticmethod
    def site_2Dimensions():
        T = yield from upload(url='''https://2Dimensions.com/a/{}''',)

        T.title = T.html.pq('title').text()
        yield T

    @staticmethod
    def site_3dnews():
        T = yield from upload(url='''http://forum.3dnews.ru/member.php?username={}''',error_type='text',error_msg='''Пользователь не зарегистрирован и не имеет профиля для просмотра.''',)

        T.title = T.html.pq('title').text()
        yield T

    ...

then replace them into extract.py

Options


Usage: __main__.py [OPTIONS] NAME

Options:
  --name TEXT        The username you need to search
  --proxy_uri TEXT   Proxy address in case of need to use a proxy to be used
  --no_proxy         All connections will be directly connected
  --save_path TEXT   The storage location of the collected results
  --pass_history     The file name will be named according to the scan endtime
  --singel TEXT      Commonly used for single target information acquisition or testing
  --debug            Debug model
  --update           Do not overwrite the original data results
  --workers INTEGER  Number of concurrent workers
  --help             Show this message and exit.

TODO

  • Formatted output

📝 License

This project is MIT licensed.


If you think this script is useful to you, don't forget star 🐶. Inspired by ❤️ sherlock

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sharingan-0.0.5.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

sharingan-0.0.5-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file sharingan-0.0.5.tar.gz.

File metadata

  • Download URL: sharingan-0.0.5.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for sharingan-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3f7336a2deb1d90778f8d41a784772465e8c4ae636723731d72c8db13ba6e7fd
MD5 2507519897fbf4a40d842d71852d252a
BLAKE2b-256 b49fb7de2b8d8e26f480e1e08fbe639230aface1e8346744caddd924614de452

See more details on using hashes here.

File details

Details for the file sharingan-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: sharingan-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for sharingan-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c52706ba9c40c829db21350d27fb82dbfa0bf47064be4d3707483abadf3d53f8
MD5 9733118201dfe87081e52903f3d50892
BLAKE2b-256 d41776e9d68647764089fd5f5cb9fefb81a889ab8f14aebd76484f52606147dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page