Prerequisits.
python 3 virtualenv
pip
- Create a virtual env and activate
python3 -m venv venv
# for the array ["abc","def","123"] | |
# ad1 ad2 ad3 ae1 ae2 ae3 af1 af2 af3 | |
# bd1 bd2 bd3 be1 be2 be3 bf1 bf2 bf3 | |
# cd1 cd2 cd3 ce1 ce2 ce3 cf1 cf2 cf3 | |
# for the array ["123","45"] | |
# 14 15 24 25 34 35 |
import re | |
import argparse | |
path_to_file = "/home/dolby/Desktop/idps_main/argusCore/qac_waivers.h" | |
appendText=' <br>' | |
pattern = re.compile("(#ifndef QAC_WAIVERS_H)|(#define QAC_WAIVERS_H)|(.*PRQA S.*)|(.*-------------------------.*)|(.*\*\/.*)") | |
def write_br(): | |
names=open(path_to_file,'r') |
import React from 'react'; | |
import * as d3 from 'd3' | |
class App extends React.Component { | |
constructor(props){ | |
super(props); | |
this.myRef = React.createRef(); | |
} | |
componentDidMount(){ | |
var svg = d3.select(this.myRef.current) |
#PHP Session Data Injection Vulnerability
Taoguang Chen <@chtg57> - Write Date: 2016.7.27 - Release Date: 2016.8.18
PHP's session php/php_binary handlers wrongly handles the session name cause arbitrarily session data injection.
Affected is PHP 5 < 5.6.25
Affected is PHP 7 < 7.0.10
Before inserting the card: Add a file called ssh Add another file called wpa_supplicant.conf with:
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NETWORK NAME"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"