Skip to content

Instantly share code, notes, and snippets.

@olto
olto / scanHost.py
Created January 17, 2017 06:00
Enter a remote host to scan...
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
import socket
import subprocess
import sys
from datetime import datetime
# Clear the screen
subprocess.call('cls', shell=True)
@olto
olto / asw.py
Last active February 11, 2017 06:25
Analyseur de Site Web
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os, sys
import time
#import requests
import socket
from bs4 import BeautifulSoup
print("")
@olto
olto / extract-exif.py
Last active November 4, 2016 07:37
Protect your data from unwanted access - Get Exif info from your foto's
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
""" Protect your data from unwanted access
Get Exif-Data from your foto's
Script by olto """
from PIL import Image
from PIL.ExifTags import TAGS, GPSTAGS
@olto
olto / car.cs
Created February 29, 2016 07:15
private static void Main(string[] args)
{
int i = 0;
int j = 0;
int largeur = 21;
int hauteur = 4;
Console.WriteLine(@" .--------.");
Console.WriteLine(@" ____/_____|___ \___");
Console.WriteLine(@"O _ - | _ ,*");
Console.WriteLine(@" '--(_)-------(_)--'");
using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.BackgroundColor = ConsoleColor.Yellow;
using System;
namespace test
{
class Program
{
static void Main(string[] args)
{
CentrerLeTexte("Du texte");
CentrerLeTexte("Encore du texte");
#! /usr/bin/env python
#coding=utf-8
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
<?php
function debug($variable) {
echo '<pre>' . print_r($variable, true) . '</pre>';
}
?>
@olto
olto / myIp.py
Created December 19, 2015 08:45
#! /usr/bin/env python
#coding=utf-8
""" Coding by olto
19-12-2015 """
import requests
print("Get your IP Adress... ")
url="http://checkip.dyndns.org"
#!/bin/bash
import platform
print('uname:', platform.uname())
print()
print('system :', platform.system())
print('node :', platform.node())
print('release :', platform.release())