Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_pdf_report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
fact_pdf_report
Commits
c7468cc5
Commit
c7468cc5
authored
Jul 13, 2020
by
lwilms
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intercept missing fields
parent
2bddb69a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
12 deletions
+60
-12
main.tex
pdf_generator/templates/default/main.tex
+22
-4
meta.tex
pdf_generator/templates/default/meta.tex
+38
-8
No files found.
pdf_generator/templates/default/main.tex
View file @
c7468cc5
...
...
@@ -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
%----------------------------------------------------------------------------------------
...
...
pdf_generator/templates/default/meta.tex
View file @
c7468cc5
\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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment