DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
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"
#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
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 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) |
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 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') |
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
# 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 |