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/python | |
""" | |
Python implementation of RMI invoker. Should try fetch a .jar from a server we control. | |
Author: Etienne Stalmans <[email protected]> | |
Version: 08/10/2014 - v0.1 | |
""" | |
import socket | |
import binascii |
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
# Docker aliases | |
alias di='sudo docker images' | |
alias dps='sudo docker ps -a' | |
# useful Docker functions | |
dock-run() { sudo docker run -i -t --privileged $@ ;} | |
dock-exec() { sudo docker exec -i -t $@ /bin/bash ;} | |
dock-log() { sudo docker logs --tail=all -f $@ ;} | |
dock-port() { sudo docker port $@ ;} | |
dock-vol() { sudo docker inspect --format '{{ .Volumes }}' $@ ;} |
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
/* | |
Source: https://bugzilla.novell.com/show_bug.cgi?id=1034862 | |
QA REPRODUCER: | |
gcc -O2 -o CVE-2017-7472 CVE-2017-7472.c -lkeyutils | |
./CVE-2017-7472 | |
(will run the kernel out of memory) | |
*/ | |
#include <sys/types.h> |
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
#include <stdio.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <stdlib.h> | |
static int sockfd = 0; | |
static struct sockaddr_in addr = {0}; | |
void fuzz(void * param){ | |
while(1){ | |
addr.sin_family = 0;//rand()%42; |
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
#!/bin/ksh | |
# | |
#======================================================================= | |
# | |
# Script: mon_oiws | |
# | |
# Purpose: Verify the OiWS is active. | |
# If inactive, acivate. | |
# If still inactive, generate page. |
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
#!/bin/ksh | |
# | |
#======================================================================= | |
# | |
# Script: mon_sna | |
# | |
# Purpose: Verify the SNA Link Station is active. | |
# If inactive, acivate. | |
# If still inactive, generate page. |