Command | Description |
---|---|
curl -h |
cURL help menu |
curl inlanefreight.com |
Basic GET request |
curl -s -O inlanefreight.com/index.html |
Download file |
curl -k https://inlanefreight.com |
Skip HTTPS (SSL) certificate validation |
curl inlanefreight.com -v |
Print full HTTP request/response details |
curl -I https://www.inlanefreight.com |
Send HEAD request (only prints response headers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
from time import sleep | |
from scapy.layers.l2 import ARP, Ether | |
from scapy.all import * | |
def arpscan(network): | |
ether = Ether(dst="ff:ff:ff:ff:ff:ff") | |
for i in range(1,20): | |
targetIP = network + str(i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import platform | |
from datetime import datetime | |
def filterARP(): | |
arptable_file = "data/table.txt" | |
lines = [] | |
MACaddrs = [] | |
ip2mac = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations.Schema; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.AspNetCore.Mvc; | |
using NLog.Web; | |
using Stripe; | |
using System.Text.Json; | |
var builder = WebApplication.CreateBuilder(args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using System.Runtime.Serialization.Json; | |
using Client.Entities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
using System.Text.Json; | |
namespace runthis | |
{ | |
class Program | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Xml.Linq; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
namespace runthis | |
{ | |
class Program | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oooo oooo | |
`888 `888 | |
888 .ooooo. .oooo. oooo ooo .ooooo. ooo. .oo. .oo. .ooooo. 888 .oo. .ooooo. oooo d8b .ooooo. | |
888 d88' `88b `P )88b `88. .8' d88' `88b `888P"Y88bP"Y88b d88' `88b 888P"Y88b d88' `88b `888""8P d88' `88b | |
888 888ooo888 .oP"888 `88..8' 888ooo888 888 888 888 888ooo888 888 888 888ooo888 888 888ooo888 | |
888 888 .o d8( 888 `888' 888 .o 888 888 888 888 .o 888 888 888 .o 888 888 .o | |
o888o `Y8bod8P' `Y888""8o `8' `Y8bod8P' o888o o888o o888o `Y8bod8P' o888o o888o `Y8bod8P' d888b `Y8bod8P' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# pylint: disable=invalid-name | |
from time import sleep | |
import RPi.GPIO as GPIO | |
pin = 40 | |
GPIO.setwarnings(False) | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setup(pin, GPIO.OUT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param($sitename) | |
$ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path | |
Function GetTmblrLinks() | |
{ | |
Param([string]$siteName) | |
$url = "https://" + $siteName + ".tumblr.com/archive" | |
$page = Invoke-WebRequest -Uri $url | |
$page.Links | Where-Object {$_.href -like '*/post/*'} | |
NewerOlder