Questions tagged [kali-linux]

Kali Linux is a special-purpose Linux distribution for penetration testing and security auditing, based on Debian. KALI LINUX QUESTIONS ON STACK OVERFLOW MUST BE PROGRAMMING RELATED. Questions about problems getting something to work on Kali, why Kali is so different from other Linux distributions, etc., are generally off-topic for Stack Overflow.

Kali Linux is a special-purpose Linux distribution for penetration testing and security auditing, based on Debian.

Nearly all questions about Kali are considered off-topic not only on Stack Overflow, but on its sister sites (e.g. Server Fault, Super User, Unix and Linux Stack Exchange). For more information about why we have this policy, please read the following FAQ: Why is Kali Linux so hard to set up? Why won't people help me?

275 questions
8
votes
2 answers

Unix Shell - Why are the same $RANDOM numbers repeated?

I was experimenting with the $RANDOM variable in a Unix shell and noticed something peculiar. I ran the following command, which reads $RANDOM in a loop 100k times and then pipes the output to "uniq" to find the duplicates. $ for i in {1..100000};…
jmg
  • 617
  • 9
  • 13
5
votes
1 answer

stuck in process sock.connect(sa) or making connections

I just set up Kali with GNOME3.38 desktop, and also have set up the python development tools I usually use. But when I start to use imapclient in the interactive python shell and do: conn = IMAPClient('imap.gmail.com', ssl=True) or: with…
Matt Millar
  • 102
  • 1
  • 8
4
votes
2 answers

Exception: Unable to generate build files in flutter

I am trying to install flutter in kali linux machine. I installed flutter from official website and followed accordingly. I don't want to use android studio so I am using visual studio code. when I run Flutter doctor in terminal i get [✓] Flutter…
Hemant Jaiman
  • 1,001
  • 6
  • 15
4
votes
4 answers

Metasploit crashed after upgrade

I have recently upgraded metasploit framework and after doing it, when I try to launch it I get the next error: msfconsole Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted? Run bundle install…
4
votes
1 answer

include/config/auto.conf.cmd : No such file or directory [Kali Linux]

Good afternoon, I want to compile the driver for my TL-WN821N V6 in Kali Linux. I have finished the instructions so far that I have installed the Linux header. The header is in the version linux-headers-5.4.0-kali3-amd64. The next step is to…
Luxa
  • 41
  • 1
  • 3
3
votes
3 answers

Code-OSS doesn't open folder or files from terminal command 'code-oss .'

A few days ago I installed Kali Linux. I'm trying to use Code-OSS instead of VSCode, since newest version of Kali doesn't have the libraries needed to install the normal one. If I try to open a folder in Code-OSS from terminal using code-oss . or…
LTX
  • 89
  • 6
3
votes
1 answer

cannot open /usr/share/dbconfig-common/internal/mysql: No such file

Good afternoon all. Iḿ having this problem in a debian OS Setting up phpmyadmin (4:4.9.7+dfsg1-1) ... /var/lib/dpkg/info/phpmyadmin.config: 144: .: cannot open /usr/share/dbconfig-common/internal/mysql: No such file dpkg: error processing package…
3
votes
1 answer

how to use a hosts ip on a docker container?

I am running a metasploitable2 docker container on a server. Here is the docker command to create this docker container: docker run --name victumb-it tleemcjr/metasploitable2:latest sh -c "/bin/services.sh && bash" --security-opt apparmor=unconfined…
Lyra Orwell
  • 1,048
  • 4
  • 17
  • 46
2
votes
1 answer

Can't add authtoken to "ngrok"

I'm new to Kali Linux and recently I tried to install ngrok, it worked perfectly but now for some reason it doesn't. I tried to create a new Authtoken and add it on Kali but it always says "ERROR: Unrecognized command: config". I've searched…
2
votes
2 answers

In Kali Linux, why do I only see python2 and python3 binaries (NOT a 'python' binary) in /usr/bin/ and get "python command not found"

I am running latest version of Kali Linux: uname -a Linux User 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux It already came with Python 3.9.8. But I needed to install Python 2.7. So I…
Shy
  • 542
  • 8
  • 20
2
votes
1 answer

Client may not trust proxy certificate although add_upstream_certs_to_client_chain is set to True

I'm trying to perform MITM between a remote server and IoT internet bridge device but even though I set add_upstream_certs_to_client_chain=true, I'm still getting 'The client may not trust the proxy's certificate' error so basically it means proxy…
2
votes
1 answer

Buildozer can't find Cython

When I lauch buildozer -v android debug or buildozer android debug Buildozer returns: Cython (cython) not found, please install it. So I try to install Cython with sudo pip3 install Cython but it returns that Requirement already satisfied: Cython in…
Snakiron
  • 423
  • 4
  • 11
2
votes
1 answer

Scapy/ARP request does not work for multiple/range IPs. Only for a single IP request

I am creating a simple function, which should collect MAC addresses of all devices in my network. import scapy.all as scapy def network_scan(ip): arp_request = scapy.ARP(pdst=ip) print(arp_request.summary()) network_scan("10.0.2.1/24") This…
2
votes
0 answers

(electron.js) npm start does nothing

I am facing an issue with electron while i try to start my app. basically I did an npm start but it absolutely did nothing except printing out these 2 lines : "> test@1.0.0 start /home/devfreak/Documents/Desktop Development/test" "> electron ." My…
Ray
  • 43
  • 6
2
votes
0 answers

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on

Whenever I execute java code on intellij on kali, or type java --version in command line I get this message Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true. I googled it and found this link that is exactly the same…
zyydoosh
  • 387
  • 2
  • 14
1
2 3
17 18