Skip to content

Instantly share code, notes, and snippets.

View xandfury's full-sized avatar

Abhinav Saxena xandfury

  • The Honeynet Project
  • New Delhi
View GitHub Profile
@xandfury
xandfury / fs_wrap_fs_hacking.py
Created August 1, 2018 11:08
Hacking though WrapFS - Example Code
import fs
from fs.wrapfs import WrapFS
from fs import open_fs
from fs.mode import Mode
class _custom_file_wrapper(object):
"""This is a custom file class that does some setup and teardown stuff.."""
def __init__(self,
file_system,
@xandfury
xandfury / MobusRTUSlaveExample.ino
Last active August 26, 2021 02:06
A simple modbus rtu slave device that works with Arduino Uno. For testing purposes.
/*
Before you begin, make sure that you have the correct libraries installed.
You must install Modbus Library given here: https://code.google.com/archive/p/arduino-modbus-slave/downloads
This is just an example taken from that library. I have written no part of this code. All credit goes to the original authors.
- xandfury
*/
#include <modbus.h>
#include <modbusDevice.h>
#include <modbusRegBank.h>

Keybase proof

I hereby claim:

  • I am xandfury on github.
  • I am xandfury (https://keybase.io/xandfury) on keybase.
  • I have a public key whose fingerprint is CA15 1BE7 2EC6 6E9E 7BDC 0BDF 235D D891 B522 E2B4

To claim this, I am signing this object: