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
| JFc=(US RU GB JP DE "") | |
| function JFGenReg { | |
| if | |
| [ $(expr $RANDOM % 2) = 1 ] | |
| then | |
| echo " ${JFc[$RANDOM % ${#JFc[@]}]}" | |
| else | |
| echo "" | |
| 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" | |
| "net/url" | |
| "github.com/antchfx/xquery/html" | |
| ) | |
| func main() { |
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
| [36mBuilt-in Atom Packages[39m (89) | |
| ├── atom-dark-syntax@0.28.0 | |
| ├── atom-dark-ui@0.53.0 | |
| ├── atom-light-syntax@0.29.0 | |
| ├── atom-light-ui@0.46.0 | |
| ├── base16-tomorrow-dark-theme@1.4.0 | |
| ├── base16-tomorrow-light-theme@1.4.0 | |
| ├── one-dark-ui@1.9.1 | |
| ├── one-light-ui@1.9.1 | |
| ├── one-dark-syntax@1.6.0 |
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 firewall filter | |
| add action=accept chain=input comment="ICMP Allow" in-interface-list=ISP protocol=icmp | |
| add action=accept chain=input connection-state=established,related in-interface-list=ISP | |
| add action=drop chain=input connection-state=invalid in-interface-list=ISP | |
| add action=accept chain=input comment="Winbox Allow" dst-port=8291 in-interface-list=ISP protocol=tcp | |
| add action=accept chain=input comment="PPTP Allow" dst-port=1723 in-interface-list=ISP protocol=tcp | |
| add action=accept chain=input comment="IPsec Allow From Address List" dst-port=500 in-interface-list=ISP protocol=udp src-address-list="IPsec Allow" | |
| add action=drop chain=input in-interface-list=ISP | |
| add action=accept chain=forward connection-state=established,related in-interface-list=ISP | |
| add action=drop chain=forward connection-nat-state=!dstnat in-interface-list=ISP |
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/sh | |
| function resolvedns { | |
| host ${1} | awk '/has address/ { print $4 }' | |
| } | |
| for i in $(cat ./nodelist.txt); | |
| do | |
| #echo | |
| echo "---| ${i} |---" | |
| #ssh root@${i} "ipmitool lan print 1 | grep 'IP Address \|MAC Address'" |
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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: mysql-master | |
| data: | |
| my.cnf: |- | |
| [client] | |
| port = 3306 | |
| socket = /var/run/mysqld/mysqld.sock |
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
| # shellcheck disable=SC2148 | |
| if | |
| [[ -n $SSH_CLIENT ]] && [[ -n $SSH_TTY ]] && [[ -n $SSH_CONNECTION ]] | |
| then | |
| MySession='remote' | |
| else | |
| MySession='local' | |
| fi | |
| # Set human lang |
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
| --- ./prepatch.s 2018-03-03 14:14:58.000000000 +0300 | |
| +++ ./hello.s 2018-03-03 14:15:02.000000000 +0300 | |
| @@ -13,36 +13,10 @@ | |
| movq %rsp, %rbp | |
| Lcfi2: | |
| .cfi_def_cfa_register %rbp | |
| - subq $48, %rsp | |
| - movl $0, -20(%rbp) | |
| - movl $0, -24(%rbp) | |
| -LBB0_1: ## =>This Loop Header: Depth=1 |
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
| sviridkin@mbp:~$ docker run -d -p 443:443 -p 9390:9390 -v $(pwd)/data:/var/lib/openvas/mgr/ --name openvas mikesplain/openvas | |
| b88d2ae940fbe9ab7778c167f181e530fdb8fdb81a838857ab11f3dbd7f090d3 | |
| ✓ @ Tue Mar 6 02:27:09 MSK 2018 | |
| sviridkin@mbp:~$ docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| b88d2ae940fb mikesplain/openvas "/bin/sh -c /start" 6 seconds ago Up 6 seconds 0.0.0.0:443->443/tcp, 0.0.0.0:9390->9390/tcp openvas | |
| ✓ @ Tue Mar 6 02:27:16 MSK 2018 | |
| sviridkin@mbp:~$ docker logs -f b88d2ae940fb | |
| Testing redis status... | |
| Redis not yet ready... |
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
| [ | |
| { | |
| "Id": "b88d2ae940fbe9ab7778c167f181e530fdb8fdb81a838857ab11f3dbd7f090d3", | |
| "Created": "2018-03-05T23:27:10.661501432Z", | |
| "Path": "/bin/sh", | |
| "Args": [ | |
| "-c", | |
| "/start" | |
| ], | |
| "State": { |
OlderNewer