NameVirtualHost *
DocumentRoot /web/example.com/www
#include<stdio.h> | |
#include<stdlib.h> | |
#include<sys/socket.h> | |
#include<features.h> | |
#include<linux/if_packet.h> | |
#include<linux/if_ether.h> | |
#include<errno.h> | |
#include<sys/ioctl.h> | |
#include<net/if.h> | |
#include<net/ethernet.h> |
/* Copyright (C) 2012-2015 P.D. Buchan (pdbuchan@yahoo.com) | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
from bs4 import BeautifulSoup | |
import requests | |
def getPlaylistLinks(url): | |
sourceCode = requests.get(url).text | |
soup = BeautifulSoup(sourceCode, 'html.parser') | |
domain = 'https://www.youtube.com' | |
for link in soup.find_all("a", {"dir": "ltr"}): | |
href = link.get('href') | |
if href.startswith('/watch?'): |
<?php | |
// https://blog.haschek.at/2017/how-to-defend-your-website-with-zip-bombs.html | |
// dd if=/dev/zero bs=1M count=10240 | gzip > 10G.gzip | |
$agent = lower($_SERVER['HTTP_USER_AGENT']); | |
//check for nikto, sql map or "bad" subfolders which only exist on wordpress | |
if (strpos($agent, 'nikto') !== false || strpos($agent, 'sqlmap') !== false || startswith($url,'wp-') || startswith($url,'wordpress') || startswith($url,'wp/')) | |
{ | |
sendBomb(); |
@echo off | |
for /d %%D in (*) do ( | |
cd %%D | |
echo %%D | |
git pull | |
cd.. | |
) |
NameVirtualHost *
DocumentRoot /web/example.com/www
#ifndef MATH_UNSIGNED_H | |
#define MATH_UNSIGNED_H | |
#include <cstdint> | |
#include <vector> | |
#include <iostream> | |
#include <stdexcept> | |
#include <algorithm> | |
#include <sstream> | |
#include <cctype> |
#include <iostream> | |
#include <random> | |
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
std::random_device m_device{}; | |
std::mt19937 m_generator{m_device()}; |
#include <QCoreApplication> | |
#include <QFile> | |
#include <QDataStream> | |
#include <QDebug> | |
#include <iostream> | |
namespace Ui { | |
namespace Emoji { | |
constexpr auto kPostfix = 0xFE0FU; | |
class One {}; |
- | e | p | |
---|---|---|---|
l | execl | execle | execlp |
v | execv | execve | execvp |