Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--source-ip not working #11

Open
meichengg opened this issue Aug 5, 2024 · 0 comments
Open

--source-ip not working #11

meichengg opened this issue Aug 5, 2024 · 0 comments

Comments

@meichengg
Copy link

meichengg commented Aug 5, 2024

Hi, it seems that --source-ip not working eventhough the IP format is correct, please check again.

I'm connected to a VPN that works with IP routing like this

ifconfig
betterpatch: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet6 fe80::b69b:4fe1:a2d4:b68  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 384 (384.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
ip route
default via 192.168.88.1 dev eth0 proto dhcp src 192.168.88.119 metric 100
172.16.221.0/24 dev betterpatch
192.168.45.0/24 dev tun0 proto kernel scope link src 192.168.45.156
192.168.88.0/24 dev eth0 proto kernel scope link src 192.168.88.119 metric 100
192.168.221.0/24 via 192.168.45.254 dev tun0

This is the command i ran and the error i got

jfscan -p- --targets targets-172.txt -i betterpatch --source-ip 172.16.221.254
usage: jfscan [-h] [--targets TARGETS] (-p PORTS | --top-ports TOP_PORTS | --yummy-ports) [--resolvers RESOLVERS] [--enable-ipv6] [--scope SCOPE] [-r MAX_RATE] [--wait WAIT] [--disable-auto-rate]
              [-i INTERFACE] [--source-ip SOURCE_IP] [--router-ip ROUTER_IP] [--router-mac ROUTER_MAC] [--router-mac-ipv6 ROUTER_MAC_IPV6] [-oi] [-od] [-o OUTPUT] [-q | -v] [--nmap]
              [--nmap-options NMAP_OPTIONS] [--nmap-threads NMAP_THREADS] [--nmap-output NMAP_OUTPUT] [--version]
              [target]
jfscan: error: --source-ip has to be an IP addresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant