local copy remote file over hops with command scp
server A: 192.168.1.10 (hops over)
server B: 192.168.1.11 (remote file is here)
scp -oProxyJump=<user>@serverA <user>@<serverB>:<PATHtoFile> Downloads/
local copy remote file over hops with command scp
scp -oProxyJump=<user>@serverA <user>@<serverB>:<PATHtoFile> Downloads/
put in server section of your virtual Host configuration following regex
server { if ($request_uri ~* "jndi:*|\$\{*") { return 403; }
check your php extentions for spell extension existing
php -m | grep spell
info: you have to see pspell in the output, if not than install the php extension (see notice below)
config/config.inc.php
<?php
$keystr = $argv[1];
echo "\n\nplain String:\n$keystr \n\nsha256 hash:\n". hash('sha256', $keystr ) ."\n\n" ;
?>
####SIBIT - systemintegration.berlin / Germany
get by known AWS ip the originAS for whole AWS network
whois 13.125.40.66 | grep "OriginAS"
you would get in the output originAS like
OriginAS: AS16509 #--> AWs ripe ORIGIN
#!/bin/bash | |
##################################################### | |
# Author: Aysad Kozanoglu | |
# | |
# OS: Debian / Ubuntu / all derivates of Debian | |
# | |
# Usage: file_encrypter.sh enc|dec FILENAME (without Ending .plain or .enc) | |
# example: ./file_encrypter.sh enc FILENAME | |
# create first NEW_FILENAME.plain with plain content | |
##################################################### |
``` | |
telnet mail.MailserverDomain.com 25 | |
#Trying 76.33.23.xxx... | |
#Connected to mail.MailserverDomain.com. | |
#Escape character is '^]'. | |
#220 mail.MailserverDomain.com ESMTP Postfix | |
helo GIVEANYEXISTINGDOMAIN.COM |
# Redis configuration file example. | |
# | |
# Note that in order to read the configuration file, Redis must be | |
# started with the file path as first argument: | |
# | |
# ./redis-server /path/to/redis.conf | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# |
# compile nginx with openssl1.1.1 | |
# params: --with-openssl=/source/openssl-1.1.1g --with-stream --with-threads --with-file-aio --with-http_stub_status_module --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt=-Wl,-z,relro --sbin-path=/usr/local/sbin --with-http_stub_status_module --with-http_ssl_module --user=www-data --group=www-data | |
# generate diffie hellman | |
openssl dhparam -out /etc/cert/dhparams.pem 4096 | |
# add following params in vhost config | |
ssl_protocols TLSv1.2; | |
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA HIGH !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"; |
location / { | |
proxy_pass https://example.de; | |
proxy_http_version 1.1; | |
proxy_set_header Accept-Encoding ""; | |
proxy_set_header Cache-Control no-cache; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection 'upgrade'; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_ssl_server_name on; | |
} |