Metasploitable Root shell 1524/tcp open shell Metasploitable root shell This was a curiousity… My first attempt was to attempt using rlogin to connect to the port, which did not appear to work correctly, though did seem to work enough to return part of a prompt to the user: root@kali:~# rlogin -p 1524 target oot@metasploitable:/# My next approach was to attempt a simple netcat connection to the host, which ended up being successful: root@kali:~# nc -v target 1524 root@metasploitable:/# id ...
grep Command in Linux O.S
command line utility for searching plain-text set for lines that match a regular expression its name come from the cd command
g|re|p
command line utility for searching plain-text set for lines that match a regular expression its name come from the cd command
g|re|p
- find word
grep "<word want to find>" <txt file>
- find only whole word
grep -w "<word want to find>" <txt file>
- find word in which line
grep -win "<word want to find>" <txt file>
- find what is before matches line
grep -win -B "<word want to find>" <txt file>
- see upside and lower side of the word
grep -win -c(2,3) "<word want to find>" <txt file>
- see matches folders/files
grep -win "<word want to find>" .
- Find whole words only
grep <find the word>*
- To show only the lines that exactly match search string
grep -x “number or word want to search” *
- Limit grep output to a fixed number of lines
grep -m2 "<word want to find>" <txt file>
Grep Command In Linux O.S >>>>> Download Now
ReplyDelete>>>>> Download Full
Grep Command In Linux O.S >>>>> Download LINK
>>>>> Download Now
Grep Command In Linux O.S >>>>> Download Full
>>>>> Download LINK sN