Skip to content

Instantly share code, notes, and snippets.

View sachinsmc's full-sized avatar
🕸️
👨🏼‍💻

Sachin Chavan sachinsmc

🕸️
👨🏼‍💻
View GitHub Profile
import java.io.*;
import java.util.*;
public class TestClass {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter wr = new PrintWriter(System.out);
int T = Integer.parseInt(br.readLine().trim());
for(int t_i=0; t_i<T; t_i++)
@sachinsmc
sachinsmc / jdbc-sample.java
Last active April 7, 2018 19:07
JDBC Example
package com.smc.jdbc;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
public class JDBCStatementCreateExample {
private static final String DB_DRIVER = "oracle.jdbc.driver.OracleDriver";

Getting Started

Https://wizardforcel.gitbooks.io/web-hacking-101/content/ Web Hacking 101 Chinese Https://wizardforcel.gitbooks.io/asani/content/ Easy to get Android security Chinese version Https://wizardforcel.gitbooks.io/lpad/content/ Android penetration test study manual Chinese version Https://wizardforcel.gitbooks.io/kali-linux-web-pentest-cookbook/content/ Kali Linux Web Penetration Test Cheats Chinese Version Https://github.com/hardenedlinux/linux-exploit-development-tutorial Linux exploit Development Primer Https://www.gitbook.com/book/t0data/burpsuite/details burpsuite actual guide Http://www.kanxue.com/?article-read-1108.htm=&winzoom=1 Penetration Testing Node.js Application Https://github.com/qazbnm456/awesome-web-security Web Security Information and Resources List

@sachinsmc
sachinsmc / main.go
Created June 24, 2019 11:33
learn go cheat.sh
package main
import(
"fmt"
m "math"
"os"
"io/ioutil"
"net/http"
"strconv"
)
<body class="align">
<div class="grid">
<form action="https://httpbin.org/post" method="POST" class="form login">
<div class="form__field">
<label for="login__username"><svg class="icon"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#user"></use></svg><span class="hidden">Username</span></label>
<input id="login__username" type="text" name="username" class="form__input" placeholder="Username" required>
</div>
@sachinsmc
sachinsmc / xmr btc atomic swap.md
Created September 29, 2021 11:00
List of Rendezvous Points for atomic swap

Bitcoin–Monero Cross-chain Atomic Swap Rendezvous Points

Here is the list of rendezvous point for xmr-btc-swap Atomic swap

/dnsaddr/rendezvous.coblox.tech/p2p/12D3KooWQUt9DkNZxEn2R5ymJzWj15MpG6mTW84kyd8vDaRZi46o

/dns4/rendezvous.xmr.radio/tcp/8888/p2p/12D3KooWN3n2MioS515ek6LoUBNwFKxtG2ribRpFkVwJufSr7ro7

const { EventEmitter } = require('events');
var input = {
"orders": [
[
"Pepperoni",
"Mushrooms",
"Sausage"
]
]
@sachinsmc
sachinsmc / launch.json
Created January 21, 2022 08:56
Debug configuration for AWS Lambda - Serverless Invoke Local
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug AWS Lambda",
"program": "${workspaceRoot}/node_modules/.bin/sls",
"runtimeVersion": "12.20.2",
"args": [