Skip to content

Commit f4f53db

Browse files
committed
ctf-cs: add how to get hardware info
1 parent 0d15751 commit f4f53db

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

ctf-cs.tex

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ \subsection{becoming root on Linux/UNIX}
442442
root@container\$ exit \li
443443
user@host\$ su \li
444444
Password: \li
445-
root@host\$ \li
445+
root@host\$
446446
\end{ldesc}
447447

448448

@@ -477,6 +477,21 @@ \subsection{Other stuff}
477477
\lI[SQLi] https://github.com/sqlmapproject/sqlmap
478478
\end{ldesc}
479479

480+
\section{Hardware info}
481+
482+
\begin{ldesc}
483+
\li[List system information] uname -a
484+
\li[List detailed hardware info] [sudo] lshw
485+
\li[List CPU devices] lscpu
486+
\li[List PCI devices] lspci [-t] [-v]
487+
\li[List USB devices] lsusb [-t] [-v]
488+
\li[List loaded kernel modules] lsmod
489+
\li[Processor width 32/64 (software)] uname -m
490+
\li[Processor width 32/64 (software)] file /usr/bin/ls
491+
\end{ldesc}\\[1ex]
492+
{\centering
493+
i386(32), i686(32), x86\_64(64), amd64(64), armv7l(32), armv8(64)}
494+
480495

481496
\end{document}
482497

0 commit comments

Comments
 (0)