Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

[BUG] pressing tab is completing MAC address instead of local IP address #509

@disc0nct

Description

@disc0nct

Veil version

3.1.14

OS Used - all info (architecture, linux flavor, etc)

Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2023.4
Codename: kali-rolling
Linux Disc0nect-Machine 6.5.0-kali3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1kali1 (2023-10-09) x86_64 GNU/Linux

How did you install Veil? (Apt, Clone from Github, etc.)

APT

Did you run the setup script?

YES

Pastebin link to error you are encountering (include console actions you took prior to error)

[NONE]

Expected behavior

complete the IP address instead of MAC address

Any additional info you want to tell me

When I change the interface to wlan0 from eth0 in /usr/share/veil/lib/common/completer.py, the completion works fine but when set back to eth0, it completes the MAC address.
So using this command, ip addr | awk '/state UP/ {print $2}' | sed 's/.$//' outputs the current working interface
hope this help you fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions