Skip to content

Instantly share code, notes, and snippets.

View Clevero's full-sized avatar

Marcel Caspar Clevero

View GitHub Profile

Keybase proof

I hereby claim:

  • I am clevero on github.
  • I am clevero (https://keybase.io/clevero) on keybase.
  • I have a public key ASAxLdeCM4pqdYztgCqGDsxNMXvEhVdCxgbSKC5rCg9wyQo

To claim this, I am signing this object:

Zusammenfassung

  • Bei Ungereimtheiten lieber bei Person nachfragen

  • Sichere Passwörter verwenden

  • Keine Geräte öffentlich im Internet erreichbar machen

  • Updates installieren**!**

#!/bin/bash
PAST_TIMESTAMP="$(date +%s -d '5 min ago')000"
mongoexport \
--csv --quiet \
--fields timestamp,source_ip,source_port,destination_ip,destination_port,honeypot \
--db mnemosyne \
--collection session \
--query "{ timestamp: {\$gt: new Date($PAST_TIMESTAMP)}}" > /tmp/mhn-report.txt
@Clevero
Clevero / Program.cs
Created July 19, 2018 13:00
Hello World
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
@Clevero
Clevero / Program.cs
Created July 19, 2018 12:58
Adds_.wToFilenamesOnDesktop
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Adds_.wToFilenamesOnDesktop
{
class Program
@Clevero
Clevero / SO33205298
Last active December 27, 2020 19:55
This is a powershell script that is downloaded via a Word Macro and executed. This was used in a proof of concept
param([string]$title)
"Called with parameter: $title" | Write-Output
New-Item new_file.txt -ItemType file
echo "You have been hacked" >> .\new_file.txt
echo "Please call your IT department for more information" >> .\new_file.txt