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

Cannot find php-curl package

I am struggling with the php-curl installation which cannot be found, I have seen plenty of topics related to it but it unfortunatelly did not help much. I want it for an curl function in a php program. I tried it via adding ppa:ondrej/php…
Brochu
  • 17
  • 5
1
vote
1 answer

Syscall Hooking on Kali Linux (kernel version 5)

I am trying to set up a hook for the bind() system call on Kali Linux 2021-W1 (Linux kernel version 5), but for some reason, calling the original system call fails and an error occurs. Here is my code: /* includes, license, author... */ void…
1
vote
2 answers

reading Memory-Mapped IO registers How to (from datasheet) and using them in mmap

I have intel system with Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04). I have downloaded the datasheet like datasheet for Intel ® 82579 Gigabit Ethernet PHY Now I am reading resource0 of pci…
user786
  • 3,902
  • 4
  • 40
  • 72
1
vote
2 answers

asm vs asm-generic in linux headers -- are they same

In my linux header files folder on my Kali kernal 5.7.0 headers included in include directory /usr/src/linux-headers-5.7.0-kali1-common/include. Inside this folders I have header files contained in sub-folders like…
user786
  • 3,902
  • 4
  • 40
  • 72
1
vote
0 answers

building simple kernel module mkmakefile: No such file or directory

I was compiling and building simple kernel module on linux following is my Makefile obj-m := hello-1.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD)…
user786
  • 3,902
  • 4
  • 40
  • 72
1
vote
1 answer

python scapy.all file not found

I have tried to run my program, and I have tried import scapy then import scapy.all but is will give me the same error. I am using kali-linux if that helps. The code that is causing the error is just from scapy.all import * This is the full error…
1
vote
1 answer

Buffer overflow exploit only working using pwntools

I am attempting to create a buffer-overflow on a simple x64 C binary without any protections (i.e. ASLR, canary, PIE, NX, Parial RelRO, Fortify). I am using an (updated) x64 Kali Linux 2020.4 distro (in vmware using the vmware image from the…
Kostas Letros
  • 53
  • 1
  • 11
1
vote
1 answer

on kali linux terminal how to create a .txt of 20 words on nano or vim and make a script bash that adds a number to every registry?

1.KaliLinux make a 20 word .txt file on (NANO or VIM) 2. Make the script bash on your Kali used to add the number 20 to every word example i use this to create the 20 word .txt but i want to know how to add the number 20 at once to every word i…
1
vote
1 answer

Can't open HCI socket.: Address family not supported by protocol

I am developing an app that needs to connect to a BLE device, but i cannot find them to establish a connection and read the bluetooth device(yes, it's on) and i can connect it to another app only from this app . So, i try to sniff the bluetooth…
1
vote
2 answers

Is it possible to ssh into Raspberry PI without login?

I am running Kali and was wondering if Is it possible to ssh into Raspberry PI without login? Because when I boot up the PI, it shows the kali login page. Can I still ssh into it without first logging in? I am on RasPI-4b
SuperBot
  • 62
  • 6
1
vote
1 answer

Not being able to install requests with pip3

In my 2020.3 release Kali When i try to install requests with pip3 i get this error ...Can anybody help me i'm not being able to understand it root@kali:~# pip3 install requests WARNING: pip is configured with locations that require TLS/SSL, however…
hydra-np
  • 11
  • 1
1
vote
1 answer

az login command failure

Trying to set up Azure CLI on my Kali Linux. This is the version of kali. kali@kali:~$ uname -a Linux kali 5.5.0-kali2-amd64 #1 SMP Debian 5.5.17-1kali1 (2020-04-21) x86_64 GNU/Linux After installation, when I run az login, it takes me to the…
whoami
  • 1,689
  • 3
  • 22
  • 45
1
vote
1 answer

Left side floating dock missing in Kali Linux and Tweak is not working

For the past few days in my kali linux machine, the home screen is appearing entirely blank. All the files that were save there is not showing and the floating dock is not appearing like before when i move my cursor to the left. I searched…
Turing101
  • 347
  • 3
  • 15
1
vote
1 answer

Could not install packages due to an EnvironmentError https://pypi.org/simple/pprint/

issue in python pip pkg : pprint /bug_bounty/HawkScan$ ls CHANGELOG.md config.pyc Dockerfile __init__.py README.md requirements.txt sites sublist config.py dico.txt hawkscan.py modules report setup.py static …
Grey_ph4ntom
  • 21
  • 1
  • 3
1
vote
2 answers

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. when installing python-dev

i have a problem when installing python-dev in kali linux with this code sudo apt-get install python-dev but it comes with this message Reading package lists... Done Building dependency tree Reading state information... Done Some packages…
Rekhy Zakaria
  • 25
  • 1
  • 7
1 2
3
17 18