Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Setup: create desktop shortcut for CyberChef Security-Onion-Solutions…
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks committed Feb 15, 2019
1 parent 2f82b82 commit 8f16b0d
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/sosetup
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,12 @@ EOF
sed -i 's|https://localhost|https://localhost/squert|g' $SQUERT_LAUNCHER
sed -i 's|Name=README|Name=Squert|g' $SQUERT_LAUNCHER

# Use README launcher as template to create CyberChef launcher
CYBERCHEF_LAUNCHER="$DIR/securityonion-cyberchef.desktop"
cp $README_LAUNCHER $CYBERCHEF_LAUNCHER
sed -i 's|https://localhost|https://localhost/cyberchef/cyberchef.htm|g' $CYBERCHEF_LAUNCHER
sed -i 's|Name=README|Name=CyberChef|g' $CYBERCHEF_LAUNCHER

# Use README launcher as template to create Kibana launcher (if enabled)
if [ "$ELASTIC" = "yes" ]; then
KIBANA_LAUNCHER="$DIR/securityonion-kibana.desktop"
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
securityonion-setup (20120912-0ubuntu0securityonion288) xenial; urgency=medium

* Setup: create desktop shortcut for CyberChef Security-Onion-Solutions/security-onion#1449

-- Doug Burks <doug.burks@gmail.com> Fri, 15 Feb 2019 11:39:22 -0500

securityonion-setup (20120912-0ubuntu0securityonion287) xenial; urgency=medium

* Setup: postinst script should add MySQL LimitNOFILE setting if necessary Security-Onion-Solutions/security-onion#1443
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
securityonion-setup (20120912-0ubuntu0securityonion288) xenial; urgency=medium
.
* Setup: create desktop shortcut for CyberChef Security-Onion-Solutions/security-onion#1449
Author: Doug Burks <doug.burks@gmail.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- securityonion-setup-20120912.orig/bin/sosetup
+++ securityonion-setup-20120912/bin/sosetup
@@ -1834,6 +1834,12 @@ EOF
sed -i 's|https://localhost|https://localhost/squert|g' $SQUERT_LAUNCHER
sed -i 's|Name=README|Name=Squert|g' $SQUERT_LAUNCHER

+ # Use README launcher as template to create CyberChef launcher
+ CYBERCHEF_LAUNCHER="$DIR/securityonion-cyberchef.desktop"
+ cp $README_LAUNCHER $CYBERCHEF_LAUNCHER
+ sed -i 's|https://localhost|https://localhost/cyberchef/cyberchef.htm|g' $CYBERCHEF_LAUNCHER
+ sed -i 's|Name=README|Name=CyberChef|g' $CYBERCHEF_LAUNCHER
+
# Use README launcher as template to create Kibana launcher (if enabled)
if [ "$ELASTIC" = "yes" ]; then
KIBANA_LAUNCHER="$DIR/securityonion-kibana.desktop"
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,4 @@ Setup:-configure-Suricata-for-AF_PACKET-Security-Onion-Solutionssecurity-onion#1
rename-setting-to-SURICATA_CAPTURE-Security-Onion-Solutionssecurity-onion#1432
adjust-comment-Security-Onion-Solutionssecurity-onion#1432
Setup:-postinst-script-should-add-MySQL-LimitNOFILE-setting-if-necessary-Security-Onion-Solutionssecurity-onion#1443
Setup:-create-desktop-shortcut-for-CyberChef-Security-Onion-Solutionssecurity-onion#1449

0 comments on commit 8f16b0d

Please sign in to comment.