pra não esquecer…

abril 15th, 2020

md5 magichash

Posted by Felipe Olivaes in xalassa

https://github.com/spaze/hashes/blob/master/md5.md

abril 15th, 2020

integer overflow

Posted by Felipe Olivaes in xalassa

número mágico 2147483648

fevereiro 4th, 2020

diversas formas de iniciar um webserver linux console

Posted by Felipe Olivaes in xalassa

https://gist.github.com/willurd/5720255

julho 8th, 2019

web app search

Posted by Felipe Olivaes in xalassa

https://github.com/nmap/nmap/blob/master/nselib/data/http-fingerprints.lua

nmap -sV –script=http-enum -p 80 dominio

junho 27th, 2019

webservice whois

Posted by Felipe Olivaes in xalassa

.BR:
https://rdap.registro.br/domain/republicavirtual.com.br

Arin:
https://rdap.arin.net/bootstrap/ip/1.1.1.1
https://rdap.arin.net/bootstrap/ip/2606:4700:4700::1111
https://rdap.arin.net/bootstrap/domain/kinghost.com.br

junho 26th, 2019

lista de tld mundiais e especiais sld do .br

Posted by Felipe Olivaes in xalassa

Lista públicas de TLD’s mundiais:

https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat

Lista especial sld .BR:

  • ufrgs.br
  • usp.br
  • tche.br
  • unicamp.br
  • ibict.br
  • unb.br
  • ufc.br
  • unesp.br
  • unifacs.br
  • ufpe.br
  • unifor.br
  • fgv.br
  • faccamp.br
  • ufmg.br


agosto 7th, 2018

SQL – extraindo domínio do e-mail

Posted by Felipe Olivaes in MySQL

SUBSTR(Email, Locate(‘@’, Email)+1) as Provedor

maio 24th, 2018

TI – acrônimos do Cristian

Posted by Felipe Olivaes in xalassa

VPN – Vim Pra Nada

SVN – Sem Vontade Nenhuma

GIT – Gosto de Ir Trabalhar

LVM – Lá Vem Merda

mais em desenvolvimento…

janeiro 29th, 2016

Disable debug asterisk

Posted by Felipe Olivaes in asterisk

Mensagens:
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/XXXXX-0001aec2] rasterisk > core set verbose 0
> core set debug 0
> sip set debug off
> iax2 set debug off

janeiro 26th, 2016

administrando controladora hp esxi

Posted by Felipe Olivaes in Hardware, vmware

cd /opt/hp/hpssacli/bin/

# mostra status dos discos
./hpssacli ctrl all show config

# mostra config da controladora
./hpssacli ctrl slot=0 show detail

# seta prioridade de rebuild
./hpssacli ctrl slot=0 modify rebuildpriority=high

# ativa cache da controladora
./hpssacli ctrl slot=0 modify drivewritecache=enable

Show configuration
/opt/hp/hpssacli/bin/hpssacli ctrl all show config

Controller status
/opt/hp/hpssacli/bin/hpssacli ctrl all show status

Show detailed controller information for all controllers
/opt/hp/hpssacli/bin/hpssacli ctrl all show detail

Show detailed controller information for controller in slot 0
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail

Rescan for New Devices
/opt/hp/hpssacli/bin/hpssacli rescan

Physical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status

Show detailed physical disk information
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail

Logical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status

View Detailed Logical Drive Status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show

Create New RAID 0 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0

Create New RAID 1 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1

Create New RAID 5 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5

Delete Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 delete

Add New Physical Drive to Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7

Add Spare Disks
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7

Enable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=enable

Disable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=disable

Erase Physical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd 2I:1:6 modify erase

Turn on Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=on

Turn off Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=off

Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify cacheratio=100/0

Enable smart array write cache when no battery is present (No-Battery Write Cache option)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify nbwc=enable

Disable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable

Enable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable

Enable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=enable

Disable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=disable

dezembro 11th, 2015

corrigindo teclado linux

Posted by Felipe Olivaes in Linux

loadkeys br-abnt2

novembro 22nd, 2015

dell 6248 storm control

Posted by Felipe Olivaes in xalassa

console# configure
console(config)# interface range ethernet all
console(config-if)# no storm-control unicast
console(config-if)# storm-control multicast
console(config-if)# storm-control broadcast
console(config-if)# end
console# copy running-config startup-config
console# exit

novembro 19th, 2015

Linux aumento de tabela arp

Posted by Felipe Olivaes in Linux

Erro: Neighbour table overflow.

sysctl -w net.ipv4.neigh.default.gc_thresh1=4096
sysctl -w net.ipv4.neigh.default.gc_thresh2=8192
sysctl -w net.ipv4.neigh.default.gc_thresh3=8192
sysctl -w net.ipv4.neigh.default.base_reachable_time=86400
sysctl -w net.ipv4.neigh.default.gc_stale_time=86400

—————–

echo 16384 > /proc/sys/net/ipv4/neigh/default/gc_thresh1
echo 32768 > /proc/sys/net/ipv4/neigh/default/gc_thresh2
echo 65535 > /proc/sys/net/ipv4/neigh/default/gc_thresh3

outubro 8th, 2015

nmap subdomínios

Posted by Felipe Olivaes in Hack

Para buscar subdomínios de um host:
nmap –script dns-brute -v -sn www.xxx.com.br

outubro 8th, 2015

ferramenta de benchmark linux

Posted by Felipe Olivaes in Linux

phoronix-test-suite

Próxima página »


nuvem de tags:

24 horas acentuação Apache bash benchmark bios boot celular centos charset comando console Download esxi Firebird firefox http importação intel ipod kinghost legenda Linux lost mod_deflate msn mssql MySQL owner Padel PHP placa mãe portabilidade Postgre SQL recovery root password rewrite shell sinuca sql server svn temporada completa veronica mars vmware Windows ícones