Skip to content

Instantly share code, notes, and snippets.


Vishnu vishnu1991

View GitHub Profile
ramantehlan /
Last active Jul 23, 2022
README template I use for most of my projects.


  • Add your project logo.
  • Write a short introduction to the project.
  • If you are using badges, add them here.

📒 Index

sharu725 / subscribe-form.html
Last active Aug 2, 2022
Jekyll Subscribe Form using Mailchimp
View subscribe-form.html
Before implementing this jekyll snippet make sure
1. you have signed up with Mailchimp.
2. you have created a list in Mailchimp.
3. you have defined the list in _config.yml,
for ex: "mailchimp-list: //;id=08c6708f40"
<form action="{{site.mailchimp-list}}" method="post" name="mc-embedded-subscribe-form" class="wj-contact-form validate" target="_blank" novalidate>
<div class="mc-field-group">
numberwhun / Penetration testing sample test cases
Created Jul 2, 2016
Penetration testing sample test cases
View Penetration testing sample test cases
Penetration testing sample test cases (test scenarios):
Remember this is not functional testing. In Pentest your goal is to find security holes in the system. Below are some generic test cases and not necessarily applicable for all applications.
1) Check if web application is able to identify spam attacks on contact forms used in the website.
2) Proxy server – Check if network traffic is monitored by proxy appliances. Proxy server make it difficult for hackers to get internal details of the network thus protecting the system from external attacks.
3) Spam email filters – Verify if incoming and outgoing email traffic is filtered and unsolicited emails are blocked. Many email clients come with in-build spam filters which needs to be configured as per your needs. These configuration rules can be applied on email headers, subject or body.
4) Firewall – Make sure entire network or computers are protected with Firewall. Firewall can be a software or hardware to block unauthorized access to system. Firewall can p
visitdigital / webhook.php
Last active May 2, 2022
Very Simple Facebook Chat Bot PHP Webhook Script Example
View webhook.php
$challenge = $_REQUEST['hub_challenge'];
$verify_token = $_REQUEST['hub_verify_token'];
// Set this Verify Token Value on your Facebook App
if ($verify_token === 'testtoken') {
echo $challenge;
$input = json_decode(file_get_contents('php://input'), true);
View gist:851ea9c78f5bde4fef12e41492ce066a
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
AbhishekGhosh / mailportcheck.php
Created Feb 27, 2016
Check Port 25, 465, 587 whether open via PHP
View mailportcheck.php
// 5 is the timeout in seconds
// 25 is port, other ports you may check are 465 and 587
$fp = fsockopen('', 25, $errno, $errstr, 5);
if (!$fp) {
} else {
View index.php
define('BOT_TOKEN', 'token');
define('API_URL', ''.BOT_TOKEN.'/');
function apiRequestWebhook($method, $parameters) {
if (!is_string($method)) {
error_log("Method name must be a string\n");
View quotes.json
"author": "Abraham Lincoln",
"quote": "Things may come to those who wait, but only the things left by those who hustle.",
"image": ""
"author": "Adam Smith",
"quote": "The great secret of education is to direct vanity to proper objects.",
battis / emoji.php
Last active Oct 5, 2021
Trying to store/retrieve/display Unicode emoji in a MySQL database
View emoji.php
// MySQL schema
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`text` text,
`blob` blob,
dgp / youtube api video category id list
Created Jun 11, 2015
youtube api video category id list
View youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs