random things i should know

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:03 PM on 9/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

8 Terms

1
New cards

Actively interacting with the target to discover specific details like users, services, ports, shares, and directories.

enumeration

2
New cards

the initial access an attacker or penetration tester gains to a target system or network

foothold

3
New cards

Broadly gathering information about a target, often before directly interacting with it.

Reconnaissance

4
New cards

how to find common.txt from the root

find / -iname "common.txt" 2>/dev/null


-iname "common.txt"

The search criteria — -iname matches filenames, and the i makes it case-insensitive (so it would match common.txt, Common.txt, COMMON.TXT, etc., all the same). The "common.txt" in quotes is the exact filename pattern being searched for.

(For contrast: -name without the i would be case-sensitive — only matching the exact capitalization you type.)


  • 2 — refers to file descriptor 2, which is "standard error" (stderr) — the channel programs use to output error messages (as opposed to 1, standard output, which is successful results).

  • > — redirects output somewhere else instead of printing it to the screen.

  • /dev/null — a special "black hole" file on Linux/Unix systems — anything sent here is simply discarded/thrown away.


5
New cards

how to undo and redo in nano

Alt + U = undo

Alt + E = redo

6
New cards

less — Views a file or command output one screen at a time and lets you scroll up and down.


lets you go forward AND backward through the file


less /etc/passwd

Then practice:

  • ↑ / ↓ → scroll

  • Spacebar → move down one screen

  • b → move back one screen

  • q → quit


7
New cards

more — Views a file or command output one screen at a time, mainly scrolling forward.


lets you go forward through the file, but not easily backward.


more /etc/passwd

Then:

  • Spacebar → move forward

  • Enter → move down one line

  • q → quit


8
New cards

It starts a simple web server on port 8000 by default that serves the files in your current directory, so you can download them from another machine by browsing to http://<your-ip>:8000

python3 -m http.server

<p>python3 -m http.server</p>