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 | |
UPDATECOMMAND="apt update" | |
INSTALLCOMMAND="apt install vim curl git -y" | |
if [ $UID != 0 ]; then | |
sudo $UPDATECOMMAND && sudo $INSTALLCOMMAND | |
else | |
$UPDATECOMMAND && $INSTALLCOMMAND | |
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
package main | |
import ( | |
"fmt" | |
"github.com/Tomasen/realip" | |
"log" | |
"net/http" | |
) | |
//CheckClientIP show real client IP |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"github.com/go-vgo/robotgo" | |
"golang.org/x/text/encoding/charmap" | |
"golang.org/x/text/transform" | |
"log" | |
"math/rand" |
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
FROM debian | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update -qq &&\ | |
apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
iptables \ |
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
Dockerfile | |
---------------------------------------------------------------------------------------------------------------------- | |
FROM debian | |
RUN apt-get update &&\ | |
apt-get upgrade -y &&\ | |
apt-get dist-upgrade -y &&\ | |
apt install wget -y &&\ | |
apt-get update && apt-get install apt-transport-https -y &&\ | |
echo "deb https://nemesida-security.com/ns/debian stretch non-free" > /etc/apt/sources.list.d/NemesidaScanner.list &&\ | |
apt install gnupg -y &&\ |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"runtime" | |
"time" | |
) | |
//RandomArray create random array//////////// |
NewerOlder