Commit 0cb96d69 by lwilms

major improvements, if statements, more data

parent 6a51b4aa
...@@ -31,124 +31,116 @@ ...@@ -31,124 +31,116 @@
\input{meta.tex} \input{meta.tex}
%----------------------------------------------------------------------------------------
\begin{document} \begin{document}
%----------------------------------------------------------------------------------------
% ABOUT ME
%----------------------------------------------------------------------------------------
\aboutme{ \aboutme{
\BLOCK{if analysis | contains('crypto_material')} \BLOCK{if 'crypto_material' in analysis}
\BLOCK{for selected_summary in analysis['crypto_material']['summary']} \BLOCK{for selected_summary in analysis['crypto_material']['summary']}
\VAR{selected_summary | filter_chars} \\ \VAR{selected_summary | filter_chars} \\
\BLOCK{endfor} \BLOCK{endfor}
\BLOCK{endif} \BLOCK{endif}
} % To have no About Me section, just remove all the text and leave \aboutme{}
%----------------------------------------------------------------------------------------
% SKILLS
%----------------------------------------------------------------------------------------
% Skill bar section, each skill must have a value between 0 an 6 (float)
\skills{\BLOCK{for selected_summary in analysis['exploit_mitigations']['summary']}{\VAR{selected_summary | filter_chars }/\VAR{analysis['exploit_mitigations']['summary'][selected_summary]|elements_count *6/analysis['exploit_mitigations']['count']}},\BLOCK{endfor}{}
} }
%------------------------------------------------
% Skill text section, each skill must have a value between 0 an 6
% \skillstext{{lovely/4},{narcissistic/3}}
% \skillstext{{lovely/4},{narcissistic/3}}
%----------------------------------------------------------------------------------------
\makeprofile % Print the sidebar \skills{{}\BLOCK{for selected_summary in analysis['exploit_mitigations']['summary'] | sort},{\VAR{selected_summary | filter_chars }/\VAR{analysis['exploit_mitigations']['summary'][selected_summary]|elements_count *6/analysis['exploit_mitigations']['count']}}\BLOCK{endfor}
}
%----------------------------------------------------------------------------------------
% EDUCATION
%----------------------------------------------------------------------------------------
\section{Binwalk} \makeprofile
\BLOCK{if analysis['entropy_analysis_graph']} % ----------------------------------------------------------------------------------------------------------------------
% Binwalk & Entropy Graph
% ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if analysis | contains('entropy_analysis_graph')}
\section{Binwalk}
\subsection{Entropy Graph} \subsection{Entropy Graph}
%\includegraphics[width = \textwidth]{/tmp/interface/data/entropy_analysis_graph.png} %\includegraphics[width = \textwidth]{/tmp/interface/data/entropy_analysis_graph.png}
\includegraphics[width = \textwidth]{\VAR{analysis['entropy_analysis_graph'] | base64_to_png('entropy_analysis_graph', tmp_dir)}} \includegraphics[width = \textwidth]{\VAR{analysis['entropy_analysis_graph'] | base64_to_png('entropy_analysis_graph', tmp_dir)}}
\BLOCK{endif} \BLOCK{endif}
% ----------------------------------------------------------------------------------------------------------------------
%\begin{twenty} % Environment for a list with descriptions % Executables
% \twentyitem{since 1865}{Ph.D. {\normalfont candidate in Computer Science}}{Wonderland}{\emph{A Quantified Theory of Social Cohesion.}} % ----------------------------------------------------------------------------------------------------------------------
% \twentyitem{1863-1865}{M.Sc. magna cum laude}{Wonderland}{Majoring in Computer Science}
% \twentyitem{1861-1863}{B.Sc. magna cum laude}{Wonderland}{Majoring in Computer Science}
% \twentyitem{1856-1861}{High school}{Wonderland}{Specializing in mathematics and physics.}
%\twentyitem{<dates>}{<title>}{<location>}{<description>}
%\end{twenty}
%\BLOCK{for current_analysis in analysis}
% \input{\VAR{current_analysis}.tex}
%\BLOCK{endfor}
\section{Executables} \section{Executables}
\begin{twentyshort} % Environment for a short list with no descriptions \begin{twentyshort}
\twentyitemshort{521}{ARM, 32-bit, little endian} \BLOCK{for selected_summary in analysis['cpu_architecture']['summary']}
\twentyitemshort{3}{x86, 32-bit, little endian} \twentyitemshort{\VAR{analysis['cpu_architecture']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}}
%\twentyitemshort{<dates>}{<title/description>} \BLOCK{endfor}
\end{twentyshort} \end{twentyshort}
% ----------------------------------------------------------------------------------------------------------------------
% Top 5 File Types
\section{Top five occuring file types}\\ % ----------------------------------------------------------------------------------------------------------------------
\section{Top five occuring file types}
\begin{twentyshort}
\BLOCK{for selected_summary in analysis['file_type']['summary'] | top_five} \begin{twentyshort}
\twentyitemshort{\VAR{analysis['file_type']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}} \BLOCK{for selected_summary in analysis['file_type']['summary'] | top_five}
\BLOCK{endfor} \twentyitemshort{\VAR{analysis['file_type']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}}
\end{twentyshort} \BLOCK{endfor}
\end{twentyshort}
\BLOCK{if analysis['known_vulnerabilities']} % ----------------------------------------------------------------------------------------------------------------------
\section{Known Vulnerabilities}\\ % Known Vulnerabilities
% ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if 'known_vulnerabilities' in analysis}
\section{Known Vulnerabilities}
% \href{https://nvd.nist.gov/vuln/detail/CVE-2014-0160}{The SSL Hearbleed bug allowing buffer overread
\begin{twentyshort} % Environment for a short list with no descriptions \begin{twentyshort} % Environment for a short list with no descriptions
\BLOCK{for known_vullies in analysis['known_vulnerabilities']['summary']} \BLOCK{for known_vullies in analysis['known_vulnerabilities']['summary']}
\twentyitemshort{\VAR{known_vullies | filter_chars}}{} \twentyitemshort{\VAR{known_vullies | filter_chars}}{}
\BLOCK{endfor} \BLOCK{endfor}
\end{twentyshort} \end{twentyshort}
\BLOCK{endif} \BLOCK{endif}
% \href{https://nvd.nist.gov/vuln/detail/CVE-2014-0160}{The SSL Hearbleed bug allowing buffer overread % ----------------------------------------------------------------------------------------------------------------------
\section{Software}\\ % Software Components
% ----------------------------------------------------------------------------------------------------------------------
\begin{twentyshort} \BLOCK{if 'software_components' in analysis}
\BLOCK{for software in analysis['software_components']['summary']} \section{Software}
\twentyitemshort{\VAR{software | filter_chars}}{}
\BLOCK{endfor} \begin{twentyshort}
%\twentyitemshort{0.6.10}{wpa\_supplicant} \BLOCK{for software in analysis['software_components']['summary'] | sort}
\end{twentyshort} \twentyitemshort{\VAR{software | filter_chars}}{}
\BLOCK{endfor}
\end{twentyshort}
% \section{IPs and URIs} \BLOCK{endif}
% ----------------------------------------------------------------------------------------------------------------------
% \subsection{IPs} % ELF ANALYSIS
% ----------------------------------------------------------------------------------------------------------------------
% Total: 140 \BLOCK{if 'elf_analysis' in analysis}
\section{ELF Analysis}
% \begin{itemize}
% \item 192.168.1.1 \begin{twentyshort}
% \end{itemize} \BLOCK{for ELF in analysis['elf_analysis']['summary'] | top_five(20)}
\twentyitemshort{\VAR{analysis['elf_analysis']['summary'][ELF] | elements_count}}{\VAR{ELF | filter_chars}}
% \subsection{URIs} \BLOCK{endfor}
\end{twentyshort}
% Total: 12 \BLOCK{endif}
% ----------------------------------------------------------------------------------------------------------------------
% \begin{itemize} % IP & URI
% \item www.bud.de % ----------------------------------------------------------------------------------------------------------------------
% \end{itemize} \BLOCK{if ('ips_v4' in analysis or 'ips_v6' in analysis or 'uris' in analysis)}
{\begin{longtable}{|p{3cm}|p{11.5cm}|}
%\section{Experience} \BLOCK{if 'ips_v4' in analysis}
\hline
%\begin{twenty} % Environment for a list with descriptions IPs v4
%\twentyitem{1900}{Alice in Wonderland-The Circra (1900's) Silent Film.}{Film}{The first Alice on film was over a hundred years ago.} \BLOCK{for ip in analysis['ips_v4'] | check_list | filter_list}
%\twentyitem{<dates>}{<title>}{<location>}{<description>} & \VAR{ip} \\
%\end{twenty} \BLOCK{endfor}
\BLOCK{elif 'ips_v6' in analysis}
\hline
IPs v6
\BLOCK{for ip in analysis['ips_v6'] | check_list | filter_list}
& \VAR{ip} \\
\BLOCK{endfor}
\BLOCK{elif 'uris' in analysis}
\hline
URIs
\BLOCK{for uri in analysis['uris'] | check_list | filter_list}
& \VAR{uri} \\
\BLOCK{endfor}
\BLOCK{endif}
\hline
\end{longtable}
}
\BLOCK{endif}
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% SECOND PAGE EXAMPLE % SECOND PAGE EXAMPLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment