Kali Linux - Which Programming Languages do I need to learn?
This question has been in my mind for a while. I want to know how to handle the Kali Linux Commands so that I understand how Kali Linux works. Which language(s) should I learn for this?
I've browsed the internet and people say you need to learn Python or SQL, I'm not sure if that's right, so I am asking you. Any help is mostly appreciated!
See also questions close to this topic
How to display ready queue waiting times on busybox linux
How can we display the waiting times, ideally max/min/avg, on the ready queue for a given thread pid on a busybox system?
Even with the full options, ps output is quite limited on busybox but I have enabled the
CONFIG_SCHED_DEBUG CONFIG_SCHED_INFO CONFIG_SCHEDSTATSoptions so, I wonder if what I need is available in the proc entries generated by these.
Also, is it possible to display the contents of ready queue and their priorities at any given time?
Dynamically finding the sections' base addresses in C, C++, or x86_64 Assembly when the program gets loaded in Linux?
I want to have a function that stores the base address of any section loaded by the loader. ASLR is on and I do not want to turn that off. I am working in Linux and at the assembly level but any c or c++ library that can do so works too. Thank you in advance.
Python3 Error in Linux: when I split a string at a carriage return it seems to destroy the string
I'm trying to check and make sure the line terminator from the user input is one specific type, but when I break exactly between the text and the carriage return I can't print the first part or check the second part. However, when the line splits in the same place and is followed by \n or \r\n there isn't an issue. Is there a characteristic of \r that could be causing this?
I'm breaking up the string at the specified index using [index:] to check the first part meets certain conditions, and this is what seems to be "breaking" it.
Edit: Here is the code segment:
if len(input) < 6: print("invalid input") break comm = input[5:] #all commands will be 5 chars rest = input[:5] print(comm)
An acceptable input would be something like "break\n" with unacceptable inputs ending in \r or \r\n or having an invalid command (tested for later). The print statement for comm is what I used to find why no error was printing and when I try it I don't get anything back.
What non-programming language should I learn for game development?
Currently, I am an IB Career-Path junior in high school. I just started a class called Personal & Professional Skills and basically one of the things we're doing is choosing another language to learn. I aim to major in software engineering with a focus in the gaming industry. Right off the bat I would normally choose C++, Java, etc. however, those aren't an option in this case (no idea why) so I have no clue what language would relate to my future field of study.
Now to my question. What language would benefit me? I read that aside from the United States, Japan is near the top when it comes to the video game industry. Would it be worth learning Japanese? Or maybe even something like different like Latin (a friend said Latin would be good for just about anything)? Again, since programming languages aren't an option, I have no clue what to choose (we can pick any non-programming / markup language).
P.S. I have a good understanding of the markup languages HTML and CSS, and I'm currently learning Python in a different class. Probably doesn't matter for the question but who knows.
Is there a language where you can get unlimited high double variables?
I'm having some fun with extremely high variables. Fx I've tried to find high primenumbers. My last try was with 1000 digits. My problem is that both in Java and PHP it says "Infinity". So the question is: is there any language and/or editor which allows unlimited high variables? I know this comes close to an off-topic question, but my question isn't about which language/editor is the best but it's about which language/editor is capable of it.
I hope you can help :)
Double pointer of array of int
Can I say that 6 pointers are being declared or not?
My reasoning is that for every cell of the array I can enter it by either
Is this a correct assumption of I can only say that I've declared 3 pointer to pointers to 3 integers?
kali linux settings interface fails to load
i have a Kali Linux 2.0 2017 64 bit ; what i discovered is that settings does not load anytime i press the setting option whenever i want to modify settings , all i get is just nothing. not even an error. i have tried to install the gnome-control-centre using apt; but i get this error
olalekan@MW:~$ sudo apt-get install gnome-control-center Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gnome-control-center : Depends: libcanberra-gtk3-0 (>= 0.25) but it is not going to be installed Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed Depends: libcheese7 (>= 3.0.1) but it is not going to be installed Depends: libclutter-1.0-0 (>= 1.11.10) but it is not going to be installed Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed Depends: libcolord-gtk1 (>= 0.1.24) but it is not going to be installed Depends: libgnome-bluetooth13 (>= 3.12.0) but it is not going to be installed Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed Depends: libgoa-backend-1.0-1 (>= 3.10.0) but it is not going to be installed Depends: libgrilo-0.2-1 (>= 0.2.2) but it is not going to be installed Depends: libgtk-3-0 (>= 3.13.7) but it is not going to be installed Depends: libnm-gtk0 (>= 0.9.7.997) but it is not going to be installed Depends: libsoup2.4-1 (>= 2.33.92) but it is not going to be installed Depends: gnome-settings-daemon (>= 3.13.91) but it is not going to be installed Depends: gsettings-desktop-schemas (>= 3.13.91) but it is not going to be installed Recommends: gnome-online-accounts but it is not going to be installed Recommends: gnome-user-guide but it is not going to be installed Recommends: gnome-user-share but it is not going to be installed Recommends: gkbd-capplet but it is not going to be installed Recommends: mousetweaks but it is not going to be installed Recommends: policykit-1-gnome Recommends: rygel but it is not going to be installed or rygel-tracker but it is not going to be installed Recommends: system-config-printer (>= 1.4) but it is not going to be installed Recommends: network-manager-gnome (>= 0.9.8) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
after getting this error i think if i try to install all the depending and required packages independently, but as i try to install them one by one , i discover ; they are layered dependencies that each of the packages specified required ; and in some ways , some of the libraries are installed but apt keep claiming they are not going to be installed. any help is appreciated... thanks.
Cannot start proxychain server
I am taking an ethical hacking tutorial and I ran the command
proxychains firefox. My output is this,
It seems like it's not working.
This is my
# proxychains.conf VER 3.1 # # HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. # # The option below identifies how the ProxyList is treated. # only one option should be uncommented at time, # otherwise the last appearing option will be accepted # dynamic_chain # # Dynamic - Each connection will be done via chained proxies # all proxies chained in the order as they appear in the list # at least one proxy must be online to play in chain # (dead proxies are skipped) # otherwise EINTR is returned to the app # #strict_chain # # Strict - Each connection will be done via chained proxies # all proxies chained in the order as they appear in the list # all proxies must be online to play in chain # otherwise EINTR is returned to the app # #random_chain # # Random - Each connection will be done via random proxy # (or proxy chain, see chain_len) from the list. # this option is good to test your IDS :) # Make sense only if random_chain #chain_len = 2 # Quiet mode (no output from library) #quiet_mode # Proxy DNS requests - no leak for DNS data proxy_dns # Some timeouts in milliseconds tcp_read_time_out 15000 tcp_connect_time_out 8000 # ProxyList format # type host port [user pass] # (values separated by 'tab' or 'blank') # # # Examples: # # socks5 192.168.67.78 1080 lamer secret # http 192.168.89.3 8080 justu hidden # socks4 192.168.1.49 1080 # http 192.168.39.93 8080 # # # proxy types: http, socks4, socks5 # ( auth types supported: "basic"-http "user/pass"-socks ) # [ProxyList] # add proxy here ... # meanwile # defaults set to "tor" socks4 127.0.0.1 9050 socks5 127.0.0.1 9050
I have my tor service running, but it doesn't seem to work.
Setting up a channel-based man-in-the-middle for Krack attacks
I'm asking this question here because i'm not getting any answer on stack exchange, original post
I've been trying to set up a channel-based man-in-the-middle using Kali Linux tools.
I'm trying to recreate the setup shown in this image: image source
The problem i'm facing is the Phase 2 shown in the image. How can I let the real AP think my evil twin is the actual client?
My general goal is to try and recreate a Key Reinstallation Attack using common penetration testing tools.
This is what I'm actually trying to accomplish:image source
I hope I'm on the right path, if not please let me know what is the optimal approach to the problem.
This is what I've done so far for the phase 1:
airmon-ng check kill airmon-ng start <interface> airodump-ng -M <monitor interface> airbase-ng -e <AP-ESSID> -c <channel> -P <monitor interface> brctl addbr fakeAP brctl addif fakeAP eth0 brctl addif fakeAP at0 ifconfig eth0 0.0.0.0 up ifconfig at0 0.0.0.0 up ifconfig fakeAP up dhclient fakeAP
My initial approach to the evil twin creation was this one: link
But I was having issues with the DHCP. I'm planning on resolving those issues and follow that approach but since I wanted to proceed with my "attack" I used the procedure listed before.