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.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
26 views

Unable to export OVA from VB machine [closed]

I got this error when I wanted to export an OVA from my Kali Linux machine in VirtualBox. This is the error message: *Fail to export KaliLinux machine. Cannot handle medium attachment: storageBus is 6,...
DevEzro's user avatar
-2 votes
0 answers
13 views

how can i Specify the Characters jack the ripper uses when incremental brute forcing [closed]

I have a zip file password locked with the password: cen455QWE1234@!@#$ I was given nothing but the following as a Range of characters used and asked to crack it. c to e E to F 1 to 5 !@$# Q, n, W I ...
b3d012's user avatar
  • 1
-1 votes
0 answers
12 views

Having problem in starting arp-scan in Kali Linux [closed]

arp-scan --interface wlan0 -l WARNING: Could not obtain IP address for interface wlan0. Using 0.0.0.0 for the source address, which may not be what you want. Either configure wlan0 with an IP ...
Rajendri Shakya's user avatar
-3 votes
0 answers
11 views

kali archive mirror error detected can you fix it? [closed]

i find this problem whene i install kali linux 2.0 in VMware 11x "8ad archive mirror ed An error has been detected while trying to use the specified Debian archive mirror. Possible reasons for ...
od mod's user avatar
  • 1
-1 votes
0 answers
11 views

Kali linux: File is still Read only, while permissions are granted [closed]

I am trying to edit file opt/lampp/etc/extra/httpd-xampp.conf, but it says "Read only". I have tried to change permissions and they are following now: └─$ ls -l httpd-xampp.conf -rwxrwxr-x 1 ...
sofija21's user avatar
-1 votes
0 answers
7 views

Shodan search to find the version of a http.component? [closed]

I have tried numerous ways to search for the version of a web technology in Shodan. I want to try to find a particular version of Bitbucket. I have tried the following things: http.component:"...
CyMom's user avatar
  • 1
-2 votes
0 answers
20 views

Error when trying to run wifi-deauth python on Kali linux [closed]

Traceback (most recent call last): File "/home/kali/wifi-deauth/wifi-deauth.py", line 270, in <module> attacker.run() File "/home/kali/wifi-deauth/wifi-deauth.py", ...
david's user avatar
  • 5
-1 votes
0 answers
17 views

Beef can only hook a page with script but when I close the tab browser goes to offline

I'm trying to set up beef framework because I study pentesting and nothing can help me make my beef work outside 1 speciefic page where browser is hooked by script I have set. I used Apache2 server to ...
Like_north's user avatar
-3 votes
0 answers
38 views

I want to run a process in Android even when the phone is switched off

I would like to know if I can run a process even when the Android phone is switched off. What I am trying to achieve is below, I lost my phone recently so I would like to create a way to track a phone ...
Vignesh S's user avatar
  • 336
-1 votes
0 answers
121 views

Stack Level Too Deep Error when running MSFConsole with different Ruby version on Kali

I installed Metasploit Framework from the Nightly Installer. When I run msfconsole, I get the following error: /opt/metasploit-framework/embedded/lib/ruby/3.0.0/ipaddr.rb:622:in `match': stack level ...
Tristan Tran's user avatar
  • 1,391
-1 votes
0 answers
19 views

Nmap failed to initialize script engine issue

So for context I'm using a kali vm preset and I was trying to scan scanme.nmap.org with a TCP SYN scan while enabling OS detection, version detection, script scanning, and traceroute I updated nmap ...
no can't do's user avatar
-1 votes
0 answers
9 views

BIND AA flag is always 0

I've BIND 9 server installed on my linux debian 12 VM. I've configured zone files and BIND configurations. When I dig any of the configured zone files I get a correct answer. But one thing I've ...
Hammas's user avatar
  • 9
-1 votes
0 answers
9 views

NetfilterQueue not giving any output

I'm trying to run this code to create a DNS Spoofer, but it doesn't work, probably because NetfilterQueue is kind of obsolete, but I still want to try to run it somehow. import netfilterqueue import ...
Aliom404hk's user avatar
-1 votes
0 answers
11 views

./install.sh [!] Install.sh seeker Kali Linux

Hello some one familiar with Kali Linux seeker library i'm tryna learn social engineering and seeker installing taking so while it took over 2 hr, nothing installing
Janysh Masirov's user avatar
-1 votes
1 answer
47 views

Already installed Python module undetected when running Python script. 'tdqm'

'tdqm' module not found even though it is installed. I have a Python script containing the line from tdqm import tdqm, but when I try to run using the command python3 script.py, it returns back the ...
kennnnny's user avatar
-1 votes
1 answer
427 views

Selenium and Python: AttributeError: 'str' object has no attribute

this seems to be a string problem since i have chromedriver, selenium and python installed. selenium has been downgraded to 4.9 like it was advised and the code was even redone to work better with ...
uncle grandpa's user avatar
0 votes
0 answers
78 views

Kali Linux (VBox) : "linux/init.h: no such file or directory" (Makefile is present)

I am trying to do the following - Writing a kernel module that lists all current tasks in a Linux system beginning from the init task. Output the task name (known as executable name), state and ...
Achyuth SS's user avatar
2 votes
0 answers
427 views

Neovim colorscheme W18: invalid character in group name

I downladed a colorscheme for neovim with packer but when I open a fili with neovim or neovim itself I am getting a W18: invalid character in group name error P.S. Using Lua BTW I couldn't find any ...
Eminion's user avatar
  • 33
1 vote
1 answer
256 views

Problem installing erlang version 23.2 on kali linux using asdf

asdf install erlang Downloading kerl... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ...
Govardhan Reddy's user avatar
0 votes
1 answer
50 views

Why isn't the text showing up within my window?

I'm trying to create a window that has "Hello, world" printed in it, and the window is working but the text is not working or is not showing up. I've tried changing the colors of the text ...
ALX's user avatar
  • 1
1 vote
1 answer
145 views

Unable access private variable outside the constructor

I am running my angular app in kali linux OS. the app was built successfully, but it throws error in loading. the error is shown below main.ts:12 TypeError: Cannot read properties of undefined (...
sai santosh's user avatar
-4 votes
1 answer
60 views

How do I install/run Hipku using Linux (links in the details)

I received a hacker challenge gift for Christmas. I'm no hacker, nor do I work in an IT role, but I'm trying my best. I've got a haiku: The weary red dove fights in the empty tundra. Jasmine petals ...
Luke's user avatar
  • 1
1 vote
2 answers
4k views

how to install mysqlclient python library in linux?

I have a Django project and I want to deploy it on a server.But I'm unable to connect mysql. I have tried different alternatives but I can't fixed this problem.(I have kali linux operating system) ...
Kartick Mandi's user avatar
0 votes
1 answer
811 views

python - AttributeError: 'NoneType' object has no attribute 'read'

import os import random import subprocess pas = '' while True: for x in range(4): pas = pas + random.choice(list('1234567890')) print('your password is: ', pas) cmd = f'torsocks -P ...
amwww's user avatar
  • 1
0 votes
1 answer
720 views

CMake on Kali Linux "is not able to compile a simple test program" due to incompatible libc and ld-linux-x86-64

I am running CLion with snap on my Kali Linux virtual machine. When I am creating a new executable C Project, I get the following error that I cannot seem to solve: CMake Error at /snap/clion/209/bin/...
Sebastien Fnt's user avatar
-1 votes
1 answer
716 views

how to keep homebrew in my path after closing the terminal window? [closed]

I run kali linux on wsl2. I installed homebrew and it works until i close the terminal window or open another terminal window the terminal doesnt recognise the brew command. i tried reinstalling ...
negbi2's user avatar
  • 23
0 votes
0 answers
1k views

Virtual environnement python2 on Kali and installing some modules

Virtual env I want to create virtual env for Python2 to use tools thar were written in Python2 (Volatilty2, Iodine, and perhaps some other later on). I have errors but, the virtual env seems to be ...
e1k's user avatar
  • 9
0 votes
1 answer
333 views

Declaring different variables using for loop in a shell script

I am trying to write a function to input info about different people, for instance, five students. I intend to do it using for loop and without declaring an array. function student() { for (( i = ...
Muhammad Arslan's user avatar
1 vote
1 answer
166 views

Creating Laravel project on Kali Linux 2022.3 kept failing

I am currently using Kali Linux 2022.3, PHP version 8.1.5 and Composer version 2.4.2. I am trying to create a Laravel Project using. composer create-project laravel/laravel example-app But It kept ...
Zay Maw's user avatar
  • 33
-1 votes
2 answers
56 views

How does enabling MySQL affect my system? [closed]

I installed MySQL on Kali Linux and I enabled it using sudo systemctl enable --now mysql I am afraid since it opens a port that it can be exploited so after finishing I run sudo systemctl disble --...
kimo_liz's user avatar
6 votes
1 answer
11k views

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so

Just wanna load a .jar file but I can't, and when running java --version I get: openjdk 17.0.4 2022-07-19, OpenJDK Runtime Environment (build 17.0.4+8-Debian-1), and OpenJDK 64-Bit Server VM (build 17....
Ace of Diamonds's user avatar
0 votes
1 answer
126 views

How to extract protocols (http)[s] to check url using shell script

I have tried below one: A=https://xyz.site echo -e ${A//:*} Result: https Please describe me that, how this ${A//:*} term results https or http and what's the concept behind it, share a article or ...
Mr.Derek's user avatar
-1 votes
1 answer
529 views

How to count how many instances of a program are running in the system using python

I would like to know how I can count how many instances of a program are running in the system using python. For example: if my terminal is open 3 "times", and there are 3 instances of the ...
Meaks's user avatar
  • 11
-3 votes
1 answer
766 views

Cannot install Pyinstaller under Wine on Kali Linux

I am getting syntax error ERROR: Command errored out with exit status 1 ... while trying to install Pyinstaller under Wine on Kali Linux in a virtual environment I'm getting an error as follows: ┌──(...
khoju's user avatar
  • 1
-1 votes
1 answer
934 views

How can I remove directory or uninstall homebrew from my terminal? [closed]

How can I remove directory or uninstall homebrew from my terminal? I am running Ubuntu terminal on my Windows 10 system. ubeath@DESKTOP:~$ rmdir homebrew rm:cannot remove 'homebrew':is a directory ...
Egede Solomon's user avatar
-1 votes
1 answer
812 views

Where can I find the wifite code directory?

I'm having the error "airplay-ng exited unexpectedly" when running an WEP attack with Wifite. In order to fix the issue i need to direct to the wifite code, which is by one sources saying, ...
don stepped inside's user avatar
0 votes
0 answers
1k views

trying to compile a c program but I am getting fatal error:/usr/include/rpc/misc/abstract_atomic.h

I am trying to compile my programm. First I got the fatal error:rpc/rpc.h, tried some fixes and then fatal error:/usr/include/rpc/misc/abstract_atomic.h. Now I get fatal error: netconfig.h. I have no ...
Traffix's user avatar
  • 25
2 votes
1 answer
2k views

Can't add authtoken to "ngrok" [closed]

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:...
TheCosmicMiner's user avatar
-2 votes
1 answer
479 views

how can i install heroku in my kali linux operating system?

I cant install heroku in my kali linux operating system. how can i resolve this issue? isn't it not possible to run heroku in kali linux? when I have try to install, it show snap command not found.
Md. Tusher Ahmed Aman's user avatar
-2 votes
1 answer
75 views

creating a fuzzer for ftp [duplicate]

I keep getting the error when I try to connect to the ftp server: a bytes like object is required not str #!/usr/bin/python import socket s = socket.socket(socket.AF_INET,socket.SOCK_STREAM) buffer ...
hamoibnamo's user avatar
0 votes
2 answers
3k views

My Kali linux showing 'No module named importlib' 'from importlib import import_module'

Trying to install build dependencies with pip which is installing in /usr/local/lib/python2.7/dist-packages As I try to install proceed gives an error Collecting git+https://github.com/kti/python-...
Harrylever's user avatar
-3 votes
1 answer
58 views

Is there any other altrenative to ">" in BASH w/ Python Subprocess [duplicate]

I am trying to print out my outputs into a log file, I am using python with subprocess to do so. But when I use > in code, I am getting error like: + klm.py scan /home '>' /home/userA/out/...
Barak's user avatar
  • 43
0 votes
1 answer
3k views

How to add php repositories to debian kali linux for php files?

I have added packages.sury.org/php through the script, I got on deb.sury.org =========================================== #!/bin/sh # To add this repository please do: if [ "$(whoami)" != &...
Harrylever's user avatar
-1 votes
1 answer
107 views

Valet not working on kali linux. Redirecting to htdocs

I installed valet on Kali Linux, and pinged a test domain to make sure it's working which it is. However, after running valet park in the folder directory that I have my files. It redirects me to ...
Dipo Deen's user avatar
0 votes
1 answer
331 views

Kali linux Buffer Overflow Nopsled passing weird value

I tried to add nopsled but kept getting c2 next to 90 which is 32 + 90 in hexadecimal. run $(python -c 'print("\x90" * 182 + "\x31\xc0\x83\xec\x01\x88\x04\x24\x68\x2f\x7a\x73\x68\x2f\...
user12308200's user avatar
0 votes
1 answer
514 views

Attempted to install a tool using the instructions on Github but get a error when try to run

I am ovbviously not au fait with building from Github repos but would really appreciate some help. OS: Kali Linux (5.15.0-kali2-amd64) I am trying to build per the instructions here: https://github....
Zakarakus's user avatar
1 vote
0 answers
30 views

click() function in selenium not interactable. Python [duplicate]

I am writing my script to automate the form filling process for multiple websites. So I basically targeted all fields using the xpath input type = xxx But the strange thing is that the half-done ...
Karasmite Kayn's user avatar
0 votes
1 answer
262 views

Kali Linux Vscode Python - Operation not permitted run python file with internal terminal

Hy guys, i am trying to use vscode in kali linux. But I ran into a problem. The moment I start the python file from the play symbol in the terminal it gives me a permission error. But if I boot from ...
f3l1x's user avatar
  • 11
-2 votes
2 answers
5k views

How I can fix the trouble with go build and go install doesnt work [closed]

Hello guys decided to download one tool - https://github.com/Charlie-belmer/nosqli (wrote on GO) for my pentest practice (it's made the nosqli directory in my /home/user). And found out that it's ...
Dscarve's user avatar
  • 11
2 votes
2 answers
1k views

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....
Shy's user avatar
  • 542

1
2 3 4 5 6