Skip to content

Instantly share code, notes, and snippets.

View kmskrishna's full-sized avatar

Sai Krishna Kothapalli kmskrishna

  • Hyderabad, India
View GitHub Profile
@kmskrishna
kmskrishna / medium.md
Last active May 23, 2023 23:03
IW Partners

Partners of Infosec Writeups

Infosec Writeups - Biggest repository of infosec articles.

image

Keybase proof

I hereby claim:

  • I am kmskrishna on github.
  • I am kmskrishna (https://keybase.io/kmskrishna) on keybase.
  • I have a public key ASA0s2Iyu962scGm7yi8SqtLIPczGh2YxlcGiH4U-kw67Ao

To claim this, I am signing this object:

<script>
var my_variable1 = 1;
var my_variable2 = 2;
</script>
worker_processes 1;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
@kmskrishna
kmskrishna / config.fish
Created November 18, 2015 17:02
SSH Tunnel Oh My Fish shell (Copy this into fish config fle)
function connect
set running (ps aux | grep ssh | grep 3128 -c)
if test $running -ne 0
disconnect
end
sshpass -p fucksociety ssh -f group23@172.16.112.136 -L 8080:202.141.80.24:3128 -N
echo "Connected"
end
function isconnected
@kmskrishna
kmskrishna / fish
Created June 27, 2015 10:57
fish blog - wordpress
git clone https://github.com/fish-shell/fish-shell
cd fish-shell/
autoconf
./configure
make
sudo make install
#!/usr/bin/env node
/*
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js
* Modified from https://gist.github.com/paolorossi/1993068
*/
var http = require('http')
, fs = require('fs')
, util = require('util')
// Load the TCP Library
net = require('net');
// Keep track of the chat clients
var clients = [];
// Start a TCP Server
net.createServer(function (socket) {
// Identify this client