Skip to content

Instantly share code, notes, and snippets.

@tiberiucorbu
tiberiucorbu / README.md
Last active December 28, 2023 10:46
Retrive active devices on the network form the vodafone router : CGA4233DE

Retrive active devices on the network form the vodafone kabelbox (CGA4233DE)

In order to automate the network activity like getting the list of connected devices, notify the presensce of a device, log and debug wifi issues, it would be nice to have the list provided by the router of the current status.

In this aricle I am going to explore this posibility, reverse engenier the web app from the router and try to authentificate and retrive the active data table from the router.

The first step is to analyze the web console into the network tab and login to see which requests are beeing made.

Security Chanlenges

@a-lunev
a-lunev / fritzing-on-debian-buster.md
Last active December 15, 2023 21:32
Instructions to install Fritzing on Linux Debian Buster

An easy way:

$ sudo apt-get install fritzing

A more complex way to install a desired release of the Fritzing app:

$ sudo apt-get install libqt5serialport5
$ sudo apt-get install libqt5xml5
@Varstahl
Varstahl / nicrename.sh
Created January 19, 2021 15:18
This script takes a list of space separated `desiredInterfaceName=HWaddr`, and renames them if necessary after network has been setup. Useful in OpenWRT 18+ and other embedded distros where udev is not available for remapping. Uses `ifconfig`, `awk`, `cut`. and `grep`.
#!/bin/sh /etc/rc.common
# OpenWRT udev-less physical interface renamer
#
# Place in /etc/init.d/ with +x
# /etc/init.d/<scriptname> enable
# /etc/init.d/<scriptname> enabled && echo on
# start after networking and logging
START=13
@chris2k20
chris2k20 / Proxmox-Cloudinit.sh
Last active April 21, 2024 13:20
Proxmox Cloud-Init Template Creation Bash-Script (Ubuntu)
#!/bin/bash
# Creates a Ubuntu Cloud-Init Ready VM Template in Proxmox
#
# Update the image name and URL for Ubuntu 22.04 LTS
export IMAGENAME="jammy-server-cloudimg-amd64.img"
export IMAGEURL="https://cloud-images.ubuntu.com/jammy/current/"
export STORAGE="local-zfs-cache"
export VMNAME="ubuntu-2204-cloudinit-template"
export VMID=902204
@mezcel
mezcel / .gitattributes
Last active March 26, 2024 08:10
Tiny Core Linux Notes
## win10 line endins
*.bat eol=crlf
*.ps1 eol=crlf
## Linux/Posix line endins
*.go eol=lf
*.sh eol=lf
*.source eol=lf
Makefile eol=lf
@rsanchez
rsanchez / Vagrantfile
Created January 23, 2020 22:34 — forked from jeebak/Vagrantfile
A vagrant replacement for ievms (for Linux, and macOS hosts)
# Usage: vagrant up windowsVersion-IEversion
#
# Eg. vagrant up win10-edge
#
# Based off of: # https://gist.github.com/anthonysterling/7cb85670b36821122a4a
boxes = {
# http://www.vagrantbox.es/
"xp-6" => "https://aka.ms/ie6.xp.vagrant",
"xp-8" => "https://aka.ms/ie8.xp.vagrant",
"vista-7" => "https://aka.ms/ie7.vista.vagrant",
@ArturKlauser
ArturKlauser / multi-arch-docker-ci.sh
Last active March 5, 2023 02:24
Building Multi-Architecture Docker Images With Buildx
#!/bin/bash
# (c) 2020 Artur.Klauser@computer.org
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# This script installs support for building multi-architecture docker images
# with docker buildx on CI/CD pipelines like Github Actions or Travis. It is
# assumed that you start of with a fresh VM every time you run this and have to
# install everything necessary to support 'docker buildx build' from scratch.
#
# Example usage in Travis stage:
@rxhanson
rxhanson / gist:df0f2b49f402ea181f5ed61b20f9cd8d
Last active March 28, 2024 13:17 — forked from bhumphrey/gist:3764983
Cherry-picking from another fork
git remote add <other-fork-alias> <other-fork-URL>
git checkout <branch>
git fetch <other-fork-alias>
git cherry-pick <commit-hash>
git push <your-fork-alias>
git remote remove <other-fork-alias>
git remote -v
@ArturKlauser
ArturKlauser / check-qemu-binfmt.sh
Last active February 13, 2023 16:53
Building Multi-Architecture Docker Images With Buildx
#!/bin/bash
# (c) 2020 Artur.Klauser@computer.org
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# This script checks if all software requirements are met in a Linux environment
# in order to use 'docker buildx' to build multi-architecture images.
# For more information see:
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/
function error() {
@ArturKlauser
ArturKlauser / reregister-qemu-binfmt.sh
Last active March 16, 2024 08:05
Building Multi-Architecture Docker Images With Buildx
#!/bin/bash
# (c) 2020 Artur.Klauser@computer.org
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# This script tries to reregister QEMU's binfmt_misc handlers with the
# fix-binary (F) flag in order to be usable with 'docker buildx' to build
# multi-architecture images.
# For more information see:
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/