Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
Skynet
Commits
3d24d4ab
Commit
3d24d4ab
authored
Feb 23, 2015
by
Jason Frisvold
Browse files
- Fix GPG decryption (path error)
- Keymgmt additions for menu and loading libraries
parent
a5b2e182
Changes
3
Hide whitespace changes
Inline
Side-by-side
gui/app/reports.php
View file @
3d24d4ab
...
...
@@ -101,9 +101,8 @@
// Generate absolute path to gpg file
$scantime
=
localtime
(
$result
[
'start_time'
],
TRUE
);
$gpgfile
=
$skynet_data_dir
.
'/'
.
(
$scantime
[
'tm_year'
]
+
1900
)
.
'/'
.
(
$scantime
[
'tm_mon'
]
+
1
)
.
'/'
.
$scantime
[
'tm_mday'
]
.
'/'
.
$result
[
'filename'
];
$gpgfile
=
$skynet_data_dir
.
'/'
.
date
(
'Y/m/d'
,
$result
[
'start_time'
])
.
'/'
.
$result
[
'filename'
];
// Generate full gpg command and execute it
$cmd
=
$skynet_gpg_cmd
.
' --batch --no-tty --decrypt '
.
...
...
@@ -242,4 +241,4 @@
$app
->
render
(
'resultsum.tpl'
,
$smarty_data
);
});
?>
\ No newline at end of file
?>
gui/app/templates/header.tpl
View file @
3d24d4ab
...
...
@@ -46,6 +46,7 @@
<li><a
href=
"/targets"
>
Targets
</a></li>
<li><a
href=
"/scantypes"
>
Scan Types
</a></li>
<li><a
href=
"/schedule"
>
Schedule
</a></li>
<li><a
href=
"/keymgmt"
>
Key Management
</a></li>
</ul>
</li>
{
if
$page
==
'report'
}
...
...
gui/public_html/index.php
View file @
3d24d4ab
...
...
@@ -107,6 +107,9 @@
// Load the editor routes
include
(
'../app/editor.php'
);
// Load the key management routes
include
(
'../app/keymgmt.php'
);
// Home Page Route
$app
->
get
(
'/'
,
$isauthenticated
(),
function
()
use
(
$app
)
{
global
$smarty_data
;
...
...
Write
Preview
Supports
Markdown
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