Skip to content

Instantly share code, notes, and snippets.

View d78ui98's full-sized avatar
🎯
Focusing

Deepanshu Gajbhiye d78ui98

🎯
Focusing
View GitHub Profile
#!/bin/bash
# USAGE
# hanoiScript.sh [n] [from] [to] [by]
if [[ -z $1 ]] ; then
echo "error: No arguments were passed"
exit 1
fi
@d78ui98
d78ui98 / Vagrantfile
Last active May 26, 2018 05:15
vagrant file to install LTSP to ubuntu box
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.network "public_network", ip: "192.168.1.18", netmask: "255.255.255.0", virtualbox_intnet: "eno1"
config.vm.provider "virtualbox" do |virtualbox|
#!/bin/bash
#Updating packages
apt-get --yes update
apt-get --yes upgrade
#Installing dependencies
apt-get --yes --install-recommends install dnsmasq ldm-ubuntu-theme
vagrant@vagrant-VirtualBox:~/package_difference$ debdiff ltsp-server_5.5.7-1_all.deb ltsp-server-standalone_5.5.7-1_all.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /etc/ltsp/dhcpd.conf
-rw-r--r-- root/root /usr/share/doc/ltsp-server-standalone/copyright
lrwxrwxrwx root/root /usr/share/doc/ltsp-server-standalone/NEWS.Debian.gz -> ../ltsp-server/NEWS.Debian.gz
lrwxrwxrwx root/root /usr/share/doc/ltsp-server-standalone/changelog.Debian.gz -> ../ltsp-server/changelog.Debian.gz
#!/bin/bash -x
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
# - https://github.com/chef/bento/blob/82752ec/packer/scripts/ubuntu/cleanup.sh
DU_BEFORE=$(df -h)
@d78ui98
d78ui98 / gist:0edd6bd226dd8b9d7f4d4b9fab490ec3
Last active September 10, 2023 14:00
test ioc for plugin
185.254.65.82
E3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
http://google.com
cve-2021-24558
https://www.virustotal.com/gui/search/http%253A%252F%252Fgoogle.com
http://asdfds.sd.fds.f.sd.fsd.com/