Commit c7468cc5 by lwilms

intercept missing fields

parent 2bddb69a
......@@ -21,28 +21,44 @@
\documentclass[letterpaper, icon]{twentysecondcv}
%----------------------------------------------------------------------------------------
% SIDE BAR
%----------------------------------------------------------------------------------------
\profilepic{fact.png}
\input{meta.tex}
\begin{document}
%----------------------------------------------------------------------------------------
% CRYPTOGRAPHY
%----------------------------------------------------------------------------------------
\aboutme{
\BLOCK{if 'crypto_material' in analysis}
\BLOCK{for selected_summary in analysis['crypto_material']['summary']}
\VAR{selected_summary | filter_chars} \\
\BLOCK{endfor}
\BLOCK{else}
No Crypto
\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
% ----------------------------------------------------------------------------------------------------------------------
% Binwalk & Entropy Graph
% ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if 'binwalk' in analysis}
\includegraphics[width = \textwidth]{\VAR{analysis['binwalk']['entropy_analysis_graph'] | base64_to_png('entropy_analysis_graph', tmp_dir)}}
\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)}}
\BLOCK{endif}
\BLOCK{endif}
% ----------------------------------------------------------------------------------------------------------------------
% Software Components
......@@ -96,6 +112,7 @@
% ----------------------------------------------------------------------------------------------------------------------
% Executables
% ----------------------------------------------------------------------------------------------------------------------
\BLOCK{if 'cpu_architecture' in analysis}
\section{Executables}
\begin{twentyshort}
......@@ -103,6 +120,7 @@
\twentyitemshort{\VAR{analysis['cpu_architecture']['summary'][selected_summary] | elements_count}}{\VAR{selected_summary | filter_chars}}
\BLOCK{endfor}
\end{twentyshort}\\
\BLOCK{endif}
%----------------------------------------------------------------------------------------
% SECOND PAGE EXAMPLE
%----------------------------------------------------------------------------------------
......
\cvname{\VAR{meta_data['device_name'] | filter_chars }} % Your name
\cvjobtitle{\VAR{meta_data['device_class'] | filter_chars }} % Job title/career
\cvdate{\VAR{meta_data['vendor'] | filter_chars }} % Date of birth
\cvaddress{\VAR{meta_data['size'] | number_format}} % Short address/location, use \newline if more than 1 line is required
\cvnumberphone{\VAR{meta_data['version'] | filter_chars}} % Phone number
\cvsite{\VAR{meta_data['release_date']}} % Personal website
\cvmail{} % Email address
\BLOCK{if 'device_name' in meta_data}
\cvname{\VAR{meta_data['device_name'] | filter_chars }}
\BLOCK{else}
\cvname{No Name}
\BLOCK{endif}
\BLOCK{if 'device_class' in meta_data}
\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
% 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