Skip to content

Instantly share code, notes, and snippets.

View nfcg's full-sized avatar
🏠
Working from home

Nuno Carmo nfcg

🏠
Working from home
View GitHub Profile
@nfcg
nfcg / Hackback
Last active March 8, 2025 22:35 — forked from denji/Hackback
Nikto, NMap , Skipfish and friends http://www.security-marathon.be/?p=844
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide for those without the patience to wait for whistleblowers
--[ 1 ]-- Introduction
@nfcg
nfcg / nif.class.php
Created January 21, 2024 22:45 — forked from iznog/nif.class.php
Portuguese NIF Validation
<?php
class Nif{
function calcularNif($string_nif){
if(strlen($string_nif)==9){
$nif_temp=str_split($string_nif);
//print_r($nif_temp);
//echo "<br>";
$contador=9;
$soma_controlo=0;