Git Product home page Git Product logo

subtakeover's Introduction

insall

git clone https://github.com/Phoenix1112/subtakeover.git
cd subtakeover
pip3 install -r requirements.txt

usage

eğer slack hook adresi ile birlikte kullanılacaksa, takeover.py dosyasını bir editor ile açıp "self.posting_webhook=" adlı değişkene slack web hook adresinizi giriniz ve dosyayı kayıt ediniz. Aşağıdaki komut terminalde çıktı vermez. Bu yöntem cron ile birlikte çalışacak şekilde ayarlanmıştır.

python3 takeover.py --list subdomains.txt -t 100

yukarıdaki komuta ek olarak --output parametresini kullanabilirsiniz. Böylece hem slack kanalınıza takeover bilgisi gönderilir hem de output dosyasına yazdırılır. Eğer Terminalden Çıktı almak istiyorsanız --print parametresi kullanılabilir.

python3 takeover.py --list subdomains.txt -t 100 --print

yukarıdaki komutta --print parametresi kullanılarak takeover bilgisinin terminalde görünmesini sağlamış olduk. Eğer web hook adresiniz kayıtlı ise hem slack kanalınıza hemde terminalde sonucları gösterir. eğer web hook yoksa sadece ekranda çıktıyı gösterir. Ayrıca stdin den subdomainler --stdin parametresi ile kullanabilirsiniz.

cat subdomains.txt | python3 takeover.py --stdin --thread 100 --output output.txt --print

You can use this program with crontab. For example, you can start the program automatically every 5 hours and control the takeover on subdomains.txt.

open crontab:

crontab -e

Scroll down to the bottom line of the page and edit and paste the command below. For this you need to save your slack hook address in the takeover.py file.

0 */5 * * * cd /path/subtakeover && /usr/bin/python3 /path/subtakeover/takeover.py --list /path/subdomains.txt --thread 50

subtakeover's People

Contributors

phoenix1112 avatar

Stargazers

 avatar Mirhat Yaşar avatar Pradeepch99 avatar Security Panda avatar Michael Cade avatar plut0 avatar Abell avatar

Watchers

 avatar

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.