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
0
votes
0 answers

Error using scapy to send TCP packets, argument 'count' not found

I am writing some code to send a specific amount of syn packets to a destination using the following command: from scapy.all import * sr(IP(dst=SERVER)/TCP(dport=80,flags='S'), count=100 ) But I always get the same error: Traceback (most recent…
Mnemosyne
  • 1,162
  • 4
  • 13
  • 45
0
votes
1 answer

Why does this bash command work when I run it normally in a shell but fail through Python's Popen?

I want to spawn a terminal in Kali with python, then send manipulate the terminal window. So I can spawn a new terminal and get its pid in Python: from subprocess import Popen, PIPE, STDOUT, check_output p1 =…
J.Todd
  • 707
  • 1
  • 12
  • 34
0
votes
1 answer

Beef installation 'libgcc-9-dev' not available. What do i do about it?

Note, selecting 'libreadline-dev' instead of 'libreadline6-dev' Package libgcc-9-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E:…
Harrylever
  • 29
  • 1
  • 8
0
votes
0 answers

How can I automate a Kali Terminal in Python?

In Kali, I'm trying to build a python library for automating some pen testing tasks by opening shells so that users can interact with things like created tunnels, ssh sessions, etc. I started trying something like: from subprocess import…
J.Todd
  • 707
  • 1
  • 12
  • 34
0
votes
1 answer

hotkey doesn't work with Visual Studio Code

I can't bind command "cursorLeft" to "alt+h" . This is my setting file keybindings.json [ { "key": "alt+h", "command": "cursorLeft", "when": "textInputFocus" }, { "key": "alt+l", "command":…
0
votes
0 answers

Unable to install pyinstaller version 3.5 onto wine with python27

I am new to wine and python in general. I am following a course and while creating a reverse shell in python 2.7 one of the lessons is to turn the .py into an exe. I successfully installed wine and python2.7 but when running the the command wine…
Nurved
  • 13
  • 2
0
votes
0 answers

Mysql command cannot connect to remote host

I have a problem with mysql command on Kali Linux OS. I'm using this command to connect to MySQL database on remote computer in local network (IP address: 172.16.64.81) but when i tried this command, it always force me to connect localhost and…
Victor Le
  • 9
  • 2
0
votes
4 answers

Android Studio error: Consider deleting _JAVA_OPTIONS

I am working on Kali Linux and wanted to get started with Android development and Flutter but I am getting this error after installing Android Studio: The use of Java options environment variables detected. Such variables override IDE configuration…
Death111
  • 33
  • 1
  • 5
0
votes
0 answers

Fails to compile

I try to run the following: build.sh: nasm -felf64 hello.asm && gcc hello.o && ./a.out but for some reason it fails, and produces the following error, which I'm not quite sure why. I would like to know if there is any way to solve this…
jr.çhåvez__07
  • 170
  • 2
  • 9
0
votes
1 answer

Linux doesn't save changes

I am new to Kali-linux and I am using it from a USB, my problem is when I shut down my computer and downloaded scripts or changes I have made are gone
0
votes
1 answer

is it possible to install mssql with all terminal tools in kali linux

I have installed Kali Linux the previous year for learning purpose, but now I am in love with this Linux distro and vim, since I am a new user to linux, based on my knowledge I have tried all possible thing to install Microsoft SQL Server in Kali…
0
votes
1 answer

Can i install Rstudio in kali linux?

I have installed anaconda on my kali linux OS. I am getting Rstudio as an option to install on navigator but when I click on it, it just loads and there is no progress. I even used terminal to do so, but it just points out some problems and is…
0
votes
2 answers

Not able to download scapy-python3-0.26 in kali linux

I have installed scapy-python3-0.26 tar.gz file from here---> https://pypi.org/project/scapy-python3/#filesthen i did cd /Downloads/scapy-python3-0.26 then i allowed all permissions to the file by chmod +x subfile name then i wrote python3 setup.py…
0
votes
1 answer

Running Python 2 Scripts after Python EOL

I understand that Python 2 has EOL-ed and we are making a shift to Python 3. A bit of context, I own a Kali 2020 VMWare Machine that comes pre-installed with Python 3. As someone preparing for OSCP (Security Certification), I am trying out some…
madics
  • 1
0
votes
1 answer

Virtual Box: Critical error while running the Android Emulator

I try to create Linux Kali on Mac with using VirtualBox. And I want to run android emulator on this Virtual Box. My VirtualBox settings look like: After all, I installed android-studio and I've tried to run android emulator but it gives error…
Sha
  • 921
  • 17
  • 46