This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
# SPDX-FileCopyrightText: 2021 grommunio GmbH | |
dialog >/dev/null 2>&1 | |
if [ "$?" -eq 127 ]; then | |
echo ERROR: /usr/bin/dialog not installed | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
# SPDX-FileCopyrightText: 2021-2023 grommunio GmbH | |
# Interactive grommunio setup | |
DATADIR="${0%/*}" | |
if [ "${DATADIR}" = "$0" ]; then | |
DATADIR="/usr/share/grommunio-setup" | |
else | |
DATADIR="$(readlink -f "$0")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"calls": [["Crypto", "Crypto"], ["Crypto.Cipher", "Crypto.Cipher"], ["Crypto.Cipher.AES", "Crypto.Cipher"], ["Crypto.Cipher._create_cipher", "Crypto.Cipher"], ["Crypto.Cipher._mode_cbc", "Crypto.Cipher._mode_cbc"], ["Crypto.Cipher._mode_cbc._create_cbc_cipher", "Crypto.Cipher._mode_cbc"], ["Crypto.Cipher._mode_ccm", "Crypto.Cipher._mode_ccm"], ["Crypto.Cipher._mode_ccm._create_ccm_cipher", "Crypto.Cipher._mode_ccm"], ["Crypto.Cipher._mode_cfb", "Crypto.Cipher._mode_cfb"], ["Crypto.Cipher._mode_cfb._create_cfb_cipher", "Crypto.Cipher._mode_cfb"], ["Crypto.Cipher._mode_ctr", "Crypto.Cipher._mode_ctr"], ["Crypto.Cipher._mode_ctr._create_ctr_cipher", "Crypto.Cipher._mode_ctr"], ["Crypto.Cipher._mode_eax", "Crypto.Cipher._mode_eax"], ["Crypto.Cipher._mode_eax._create_eax_cipher", "Crypto.Cipher._mode_eax"], ["Crypto.Cipher._mode_ecb", "Crypto.Cipher._mode_ecb"], ["Crypto.Cipher._mode_ecb._create_ecb_cipher", "Crypto.Cipher._mode_ecb"], ["Crypto.Cipher._mode_gcm", "Crypto.Cipher._mode_gcm"], ["Crypto.Cipher._mode_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import win32serviceutil | |
import win32service | |
import win32event | |
import win32api | |
import servicemanager | |
import os | |
import sys | |
from time import sleep | |
import socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright 2017-2020 Orsiris de Jong | |
# This file is part of command_runner module | |
""" | |
elevate is a Windows/ unix compatible function elevator for Python 3+ | |
usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# CSV to JSON converter using BASH | |
# original script from http://blog.secaserver.com/2013/12/convert-csv-json-bash/ | |
# thanks SecaGuy! | |
# Usage ./csv2json.sh input.csv > output.json | |
input=$1 | |
[ -z $1 ] && echo "No CSV input file specified" && exit 1 | |
[ ! -e $input ] && echo "Unable to locate $1" && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PROGRAM="backup_tool_script" | |
PROGRAM_VERSION=0.4.4 | |
PROGRAM_BUILD=2018110501 | |
AUTHOR="(C) 2017-2018 by Orsiris de Jong" | |
CONTACT="http://www.netpower.fr - ozy@netpower.fr" | |
IS_STABLE=yes | |
## backup_tool_script - A script to check burp backup sanity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PROGRAM="backup_tool_script" | |
PROGRAM_VERSION=0.4.0 | |
PROGRAM_BUILD=2018021403 | |
AUTHOR="(C) 2017-2018 by Orsiris de Jong" | |
CONTACT="http://www.netpower.fr - ozy@netpower.fr" | |
IS_STABLE=yes | |
#TODO | |
# postponed arrays / files grow a lot. Consider having them "rolling" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PROGRAM="burp_tool" | |
PROGRAM_VERSION=0.2.0 | |
PROGRAM_BUILD=2017120402 | |
AUTHOR="(C) 2017 by Orsiris de Jong" | |
CONTACT="http://www.netpower.fr - ozy@netpower.fr" | |
IS_STABLE=no | |
## burp-tool.sh - A script to check burp backup sanity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run 1 | |
2017-11-09 09:32:04 +0100: burp[27137] Client version: 2.1.22 | |
2017-11-09 09:32:04 +0100: burp[27137] Protocol: 1 | |
2017-11-09 09:32:04 +0100: burp[27137] Client is Windows | |
2017-11-09 09:32:04 +0100: burp[27137] Begin phase1 (file system scan) | |
2017-11-09 09:40:29 +0100: burp[27137] End phase1 (file system scan) | |
2017-11-09 09:40:29 +0100: burp[27137] Begin phase2 (receive file data) | |
2017-11-09 09:46:35 +0100: burp[27137] End phase2 (receive file data) | |
2017-11-09 09:46:35 +0100: burp[27137] Backup ending - disconnect from client. |
NewerOlder