Commit c7468cc5 by lwilms

intercept missing fields

parent 2bddb69a
...@@ -21,28 +21,44 @@ ...@@ -21,28 +21,44 @@
\documentclass[letterpaper, icon]{twentysecondcv} \documentclass[letterpaper, icon]{twentysecondcv}
%----------------------------------------------------------------------------------------
% SIDE BAR
%----------------------------------------------------------------------------------------
\profilepic{fact.png} \profilepic{fact.png}
\input{meta.tex} \input{meta.tex}
\begin{document} \begin{document}
%----------------------------------------------------------------------------------------
% CRYPTOGRAPHY
%----------------------------------------------------------------------------------------
\aboutme{ \aboutme{
\BLOCK{if 'crypto_material' in analysis} \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{else}
No Crypto
\BLOCK{endif} \BLOCK{endif}
} }
%----------------------------------------------------------------------------------------
\skills{\VAR{ analysis | call_for_mitigations}} % EXPLOIT MITIGATION
%----------------------------------------------------------------------------------------
\BLOCK{if 'exploit_mitigations' in analysis}
\skills{\VAR{ analysis | call_for_mitigations}}
\BLOCK{else}
\skills{No Analysis Done/1}
\BLOCK{endif}
\makeprofile \makeprofile
% ---------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------
% Binwalk & Entropy Graph % Binwalk & Entropy Graph
% ---------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if 'binwalk' in analysis} \BLOCK{if 'binwalk' in analysis}
\BLOCK{if 'entropy_analysis_graph' in analysis['binwalk']}
\includegraphics[width = \textwidth]{\VAR{analysis['binwalk']['entropy_analysis_graph'] | base64_to_png('entropy_analysis_graph', tmp_dir)}} \includegraphics[width = \textwidth]{\VAR{analysis['binwalk']['entropy_analysis_graph'] | base64_to_png('entropy_analysis_graph', tmp_dir)}}
\BLOCK{endif}
\BLOCK{endif} \BLOCK{endif}
% ---------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------
% Software Components % Software Components
...@@ -96,6 +112,7 @@ ...@@ -96,6 +112,7 @@
% ---------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------
% Executables % Executables
% ---------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if 'cpu_architecture' in analysis}
\section{Executables} \section{Executables}
\begin{twentyshort} \begin{twentyshort}
...@@ -103,6 +120,7 @@ ...@@ -103,6 +120,7 @@
\twentyitemshort{\VAR{analysis['cpu_architecture']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}} \twentyitemshort{\VAR{analysis['cpu_architecture']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}}
\BLOCK{endfor} \BLOCK{endfor}
\end{twentyshort}\\ \end{twentyshort}\\
\BLOCK{endif}
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% SECOND PAGE EXAMPLE % SECOND PAGE EXAMPLE
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
......
\cvname{\VAR{meta_data['device_name'] | filter_chars }} % Your name \BLOCK{if 'device_name' in meta_data}
\cvjobtitle{\VAR{meta_data['device_class'] | filter_chars }} % Job title/career \cvname{\VAR{meta_data['device_name'] | filter_chars }}
\BLOCK{else}
\cvdate{\VAR{meta_data['vendor'] | filter_chars }} % Date of birth \cvname{No Name}
\cvaddress{\VAR{meta_data['size'] | number_format}} % Short address/location, use \newline if more than 1 line is required \BLOCK{endif}
\cvnumberphone{\VAR{meta_data['version'] | filter_chars}} % Phone number
\cvsite{\VAR{meta_data['release_date']}} % Personal website \BLOCK{if 'device_class' in meta_data}
\cvmail{} % Email address \cvjobtitle{\VAR{meta_data['device_class'] | filter_chars }}
\BLOCK{else}
\cvjobtitle{No Class}
\BLOCK{endif}
\BLOCK{if 'vendor' in meta_data}
\cvdate{\VAR{meta_data['vendor'] | filter_chars }}
\BLOCK{else}
\cvdate{No Vendor}
\BLOCK{endif}
\BLOCK{if 'size' in meta_data}
\cvaddress{\VAR{meta_data['size'] | number_format}}
\BLOCK{else}
\cvaddress{No Size}
\BLOCK{endif}
\BLOCK{if 'version' in meta_data}
\cvnumberphone{\VAR{meta_data['version'] | filter_chars}}
\BLOCK{else}
\cvnumberphone{No Version}
\BLOCK{endif}
\BLOCK{if 'release_date' in meta_data}
\cvsite{\VAR{meta_data['release_date']}}
\BLOCK{else}
\cvsite{No Release Date}
\BLOCK{endif}
\cvmail{}
% to change the icons: line 142 in twentysecondcv.cls % to change the icons: line 142 in twentysecondcv.cls
% all icons possible from: https://github.com/spagnuolocarmine/TwentySecondsCurriculumVitae-LaTex/raw/master/fontawesome.pdf % all icons possible from: https://github.com/spagnuolocarmine/TwentySecondsCurriculumVitae-LaTex/raw/master/fontawesome.pdf
\ No newline at end of file
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