Skip to content

Instantly share code, notes, and snippets.

Romel Vera RomelSan

Block or report user

Report or block RomelSan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@RomelSan
RomelSan / RouterOS 6 Syntax.xml
Last active Jul 20, 2019
Mikrotik RouterOS Syntax for Notepad++
View RouterOS 6 Syntax.xml
<NotepadPlus>
<UserLang name="RouterOS" ext="rsc" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@RomelSan
RomelSan / ssh.txt
Created Jul 12, 2019
SSH service Linux
View ssh.txt
* start the SSH service with systemctl
sudo systemctl enable ssh
sudo systemctl start ssh
sudo systemctl restart sshd
* Allow Or Deny SSH Access To A Particular User Or Group In Linux
sudo nano /etc/ssh/sshd_config
* Add or edit the following line:
@RomelSan
RomelSan / raspberry-pi4.md
Last active Jul 12, 2019
First things to do with a Raspberry Pi 4 (Raspbian Lite)
View raspberry-pi4.md

First things to do with a Raspberry Pi 4 (Raspbian Lite)

Initial Changes

  • Change User Password
  • Change Hostname
  • Enable SSH
  • Change Time-Zone
  • Memory Spit
    sudo raspi-config
@RomelSan
RomelSan / Powershell-Certificates-BRIEF.ps1
Last active Jul 27, 2019
Powershell Self Signed Certificate
View Powershell-Certificates-BRIEF.ps1
#-------------------------------------------------------------------------------------
# Create Self signed root certificate
# -dnsname -DnsName domain.example.com,anothersubdomain.example.com
# -Subject "CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com"
$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `
-Subject "CN=P2SRootCert" `
-KeyExportPolicy Exportable `
-HashAlgorithm sha256 -KeyLength 4096 `
-CertStoreLocation "Cert:\CurrentUser\My" `
-KeyUsageProperty Sign `
@RomelSan
RomelSan / SMB Check v0.3.ps1
Last active Oct 25, 2018
This tool checks and enforces SMB v3 basic security
View SMB Check v0.3.ps1
# SMB Check v0.3
# By Romel Vera (https://www.github.com/RomelSan)
# This tool checks and enforces SMB v3 basic security
# License: MIT
# Build: December 8, 2017
#===========================================================================
# Check Admin
#===========================================================================
function Test-IsAdmin {
@RomelSan
RomelSan / SMB Security v0.3.ps1
Last active Dec 9, 2017
SMB v3 basic security
View SMB Security v0.3.ps1
# SMB Security v0.3
# By Romel Vera (https://www.github.com/RomelSan)
# Enforce SMB v3 basic security
# License: MIT
# Build: December 8, 2017
# Check SMB Server Configuration:
Get-SmbServerConfiguration |
select EnableSMB1Protocol, EnableSMB2Protocol, EncryptData, RejectUnencryptedAccess, RequireSecuritySignature
View keybase.md

Keybase proof

I hereby claim:

  • I am romelsan on github.
  • I am romel (https://keybase.io/romel) on keybase.
  • I have a public key ASD7DbdEmxcIYcbwCQna5T58VtETEYd9ZAOfxzVwhvXeSAo

To claim this, I am signing this object:

You can’t perform that action at this time.