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
1
vote
1 answer

The Scapy is not accepting this kind of value "10.0.2.1/24"

My code is suppose to send packets and get the mac address back but i get some error, The code: def scan(ip): arp_request = scapy.ARP(pdst=ip) broadcast = scapy.Ether(dst="ff:ff:ff:ff:ff:ff") arp_request_broadcast =…
Beast
  • 43
  • 1
  • 8
1
vote
0 answers

go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT

I'm trying to build my program using cross-platform Steps for reproducing the problem: apt-get install golang gox sudo gox -build-toolchain The toolchain build can't be parallelized because compiling a single Go source directory can only be…
user5285766
  • 109
  • 2
  • 10
1
vote
0 answers

Scripting Metasploit to exploit a group of hosts

I'm trying to replicate the script on https://www.pentestpartners.com/security-blog/scripting-metasploit-to-exploit-a-group-of-hosts-a-how-to/ On my con_cmd_file I have use exploit/multi/handler set payload windows/meterpreter/reverse_tcp set…
stackstack
  • 11
  • 1
1
vote
2 answers

DeprecationWarning: firefox_profile has been deprecated, please pass in a Service object

I have been trying to automate my firefox browser in Kali linux. I installed selenium and geckdriver and running this simple script: from selenium import webdriver browser = webdriver.Firefox('/usr/bin/') browser.get('www.duckduckgo.com') #I saw a…
1
vote
1 answer

Apache default configurarion file

I've installed LAMPP stack that includes Apache, from Apache documentation I understand that if I install Apache form package manager, the default configuration file will be /etc/apache2/apache2.conf, but if I install it from something else it may…
zyydoosh
  • 387
  • 2
  • 14
1
vote
1 answer

Unable to access jarfile ANTLR_JAR_PATH-NOTFOUND while building mysql-workbench from source

I am trying to build the mysql-workbench from source.I followed these steps given in INSTALL file. Steps: 1- $> cd wb-build 2- $> cmake .. 3- $> make -j4 4- $> sudo make install AT STEP…
user11923710
1
vote
1 answer

Got a Black Screen After Importing Kali in Virtual Box?

I imported virtual box image, started the machine and got a blank black screen.
Javad Moradi
  • 866
  • 7
  • 18
1
vote
1 answer

KaToolin just seems to have this unique key hardcoded to work, how can we tell if it is legitimately tied back to the authentic Kali project?

So line 53 of katoolin.py has this hardcoded value: cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6") How can we verify that ED444FF07D8D0BF6 tracks back to the authentic project? This seems like the…
0
votes
0 answers

ConnectionRefusedError: [Errno 111] Connection refused in kali linux

i tried building a simple port scanner in linux and this is the code #!/bin/python3 #sockets import socket HOST= "127.0.0.1" PORT = 7777 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((HOST,PORT)) AND…
0
votes
0 answers

shodan 0 results saved problem. How do I resolve this?

I just started learning bug bounty and I am facing a problem please correct me Its about shodan 0 results saved problem what is that happening to me. I Did this it is on their website input: ┌──(kali㉿kali)-[~/Desktop] └─$ shodan download --limit 200…
0
votes
0 answers

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 process id of each task in a tree structure. The Error…
Achyuth SS
  • 13
  • 2
0
votes
1 answer

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 and background, but to no avail. I've also made many efforts…
ALX
  • 1
  • 2
0
votes
1 answer

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 {pas}' stdout=subprocess.PIPE p =…
amwww
  • 1
0
votes
1 answer

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

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 working. Modules I will need to use some modules. I…
e1k
  • 9
  • 3