Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mavam committed Mar 22, 2014
1 parent 881bfc0 commit a5e596f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions hacksheet.tex
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
\newcommand{\kkt}{\os{2k3}}
\newcommand{\kke}{\os{2k8}}
\newcommand{\seven}{\os{7}}

% TODO: These are not really OSes, we distinguish them. --mavam
\newcommand{\mysql}{\os{mysql}}
\newcommand{\postgres}{\os{psql}}
\newcommand{\win}{\os{sqlcmd}}
Expand Down Expand Up @@ -428,7 +430,7 @@ \subsection*{Cleanup}
\cmd{\unix}{fuser -k -c /mnt/secret}
\end{action}

\section*{System Administration}
\section*{Miscellaneous}

\subsection*{Date and Time}

Expand All @@ -438,7 +440,7 @@ \subsection*{Date and Time}
\cmd{\windows}{time}
\end{action}

\subsection*{Networking}
\subsection*{Network}

\begin{action}{Forward a TCP/UDP port}
\cmd{\unix}{mkfifo f ;\\
Expand Down Expand Up @@ -485,9 +487,9 @@ \subsection*{Databases}
\end{action}


\subsection*{Miscellaneous Windows Tasks}
\subsection*{Windows Tasks}

\begin{action}{Download File from Internet}
\begin{action}{Download file from Internet}
\cmd{\windows}{
Powershell \\
\$source = "http:www.download.com/file.txt" \\
Expand All @@ -496,7 +498,7 @@ \subsection*{Miscellaneous Windows Tasks}
\$wc.DownloadFile(\$source, \$destination)}
\end{action}

\begin{action}{driver query}
\begin{action}{List device drivers and their properties}
\cmd{\windows}{driverquery (-v)}
\end{action}

Expand Down

0 comments on commit a5e596f

Please sign in to comment.