Skip to content

Instantly share code, notes, and snippets.

View djprmf's full-sized avatar
🤔
Loading...

Pedro Fernandes djprmf

🤔
Loading...
View GitHub Profile
https://bitwarden.joph-auth.com
https://passwords.minifyx.de
https://passwords.mscripps.com/
https://bitwarden.asgardian.co.uk/
https://vault.passwordspace.com/
http://bitwarden.deluxe-services.xyz
https://pw.security-vault.de/
https://safe.nickf.de/
http://bitwarden.cdr-services.com/
http://safe.in.kremer-pigmente.de/
/* Toot */
.compose-form__publish-button-wrapper > .button.button--block {
font-size: 0 !important;
}
.compose-form__publish-button-wrapper > .button.button--block::after {
content: "Toot!";
text-transform: none;
font-size: 15px;
position: relative;
192.168.0.1 Non-routable local internet address
1.0.0.1 one.one.one.one
1.1.1.1 one.one.one.one
8.8.4.4 dns.google
8.8.8.8 dns.google
9.9.9.9 dns9.quad9.net
9.9.9.11 dns11.quad9.net
45.90.28.100 dns1.nextdns.io
45.90.30.100 dns2.nextdns.io
94.140.14.140 dns-unfiltered.adguard.com
@djprmf
djprmf / abuseIP.php
Created October 31, 2021 09:22
Abuse reporting to AbuseIPDB from CSF
#!/usr/local/bin/php
<?php
// Credits
// https://www.webniraj.com/2019/03/12/auto-reporting-lfd-block-reports-to-abuse-ip-db-v2/
// AbuseIPDB API v2 Key
$api_key = 'xxx';
// AbuseIPDB API v2 Endpoint
rpm -Uvh --force http://mirror.centos.org/centos-7/7/os/x86_64/Packages/centos-release-7-8.2003.0.el7.centos.x86_64.rpm
yum clean all
yum update -y
*: PTR.DO.IP
NOTA: PTR corresponde ao hostname do IP basicamente. Deve criar algo e configurar um domínio para tal. Por exemplo - mailserver.dominio.com
O PTR pode ser alterado na empresa onde comprou o IP.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"CortanaConsent"=dword:00000000
"BingSearchEnabled"=dword:00000000
#Force www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301,NC]
# CONFIGURAR UTILIZAÇÃO DO HTTPS
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://dominiodosite.pt/$1 [R,L]
- keepass.fr
- 7zip.fr
- inkscape.fr
- gparted.fr
- clonezilla.fr
- paintnet.fr
- greenshot.fr
- scribus.fr
- audacity.es
- stellarium.fr