This file contains hidden or 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
[global_config] | |
focus = system | |
title_transmit_bg_color = "#5cb05e" | |
window_state = maximise | |
[keybindings] | |
close_term = <Primary><Shift>w | |
close_window = <Primary>q | |
copy = <Primary>c | |
paste = <Primary>v | |
search = <Primary>f |
This file contains hidden or 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
INFO [org.apache.axis2.transport.http.HTTPSender] - Unable to sendViaPost to url[https://localhost:9853/services/AuthenticationAdmin] | |
org.apache.axis2.AxisFault: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed | |
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) | |
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:78) | |
at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84) | |
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) | |
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) | |
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) | |
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) | |
at org.apache.comm |
This file contains hidden or 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
Use TCPDUMP to Monitor HTTP Traffic | |
1. To monitor HTTP traffic including request and response headers and message body: | |
tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' -i all | |
2. To monitor HTTP traffic including request and response headers and message body from a particular source: | |
tcpdump -A -s 0 'src example.com and tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | |
3. To monitor HTTP traffic including request and response headers and message body from local host to local host: |
This file contains hidden or 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/sh | |
REPO_NAME=$1 | |
#possible values: 1.7 1.8 | |
JDK_TO_USE=$2 | |
HOME=/build/release-builds/kasung/ | |
JDK_18=/build/software/java/jdk1.8.0_20 | |
JDK_17=/build/software/java/jdk1.7.0_51 |
This file contains hidden or 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/sh | |
#A snippet to synchronize the CARBON_HOME/repository/deployment/server folders between manager and all worker nodes. | |
#Add a file called workers-list.txt that has a syntax like follows separated by new lines. | |
#[email protected]:~/setup/192.168.1.1/as/as_worker/repository/deployment/server | |
manager_server_dir=~/wso2as-5.2.1/repository/deployment/server | |
pem_file=~/.ssh/carbon-440-test.pem | |
#delete the lock on exit |
This file contains hidden or 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/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
NewerOlder