Skip to content

Instantly share code, notes, and snippets.

Luc Sarzyniec olbat

Block or report user

Report or block olbat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@olbat
olbat / cpubench.c
Created Sep 19, 2011
CPU Benchmark that try to get guess precisely the number of loop that can be performed in a specified amount of time
View cpubench.c
/*
* Copyright (C) 2011 Sarzyniec Luc <mail@olbat.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@olbat
olbat / data_spoofer_receiver.c
Created Sep 19, 2011
Share data spoofing them and bouncing on a specified server (data are stored in TCP ACK field, bouncing is done via TCP RST)
View data_spoofer_receiver.c
/*
* Copyright (C) 2006, 2007 Sarzyniec Luc <mail@olbat.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@olbat
olbat / printfile.c
Created Sep 19, 2011
Allow you to print (binary) files in a formated and readable output
View printfile.c
/*
* Copyright (C) 2006, 2007 Sarzyniec Luc <mail@olbat.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@olbat
olbat / symcrypt.c
Created Sep 19, 2011
Symetric-key encryption program using a key file + a hard-coded key (so to decrypt you need the key + the binary of the program used to crypt)
View symcrypt.c
/*
* Copyright (C) 2006, 2007 Sarzyniec Luc <mail@olbat.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@olbat
olbat / portscanner.c
Created Sep 19, 2011
Scan a specific machine to see which ports it's listening on
View portscanner.c
/*
* Copyright (C) 2006, 2007 Sarzyniec Luc <mail@olbat.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@olbat
olbat / errors.rb
Created Sep 19, 2011
Thread-safe ruby library that allow you to download, extract, compress and hash (archive) files
View errors.rb
# Exception classes
# An error related to the resource management
class ResourceError < Exception
end
# The specified resource was not found
class ResourceNotFoundError < ResourceError
end
@olbat
olbat / Makefile
Created Sep 19, 2011
GNU/Linux Kernel module sample that read the current time on the RTC chip
View Makefile
obj-m += realtimeclock.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -c /lib/modules/$(shell uname -r)/build M=$(PWD) clean
@olbat
olbat / shlog.sh
Created Oct 2, 2011
shlog is a bash script that allow you to record a shell session by logging command history and giving diff of edited files
View shlog.sh
#!/bin/bash -e
####
# shlog is a bash script that allow you to record a shell session by logging
# command history and giving diff of edited files
####
# User notes:
# - Install:
# Load the script using 'source shlog.bash' (add it to your .bashrc
# to load it automatically)
@olbat
olbat / French
Created Apr 14, 2015
Raidcore - missing translations
View French
$ grep -Rn -- '^--.\+--[[:space:]]*TODO:[[:space:]]*French[[:space:]].\+!!!!' | wc -l
172
$ grep -Rn -- '^--.\+--[[:space:]]*TODO:[[:space:]]*French[[:space:]].\+!!!!'
Modules/Avatus.lua:44:-- ["Holo Hand Spawned"] = "Holo Hand Spawned", -- TODO: French translation missing !!!!
Modules/Avatus.lua:52:-- ["Portals have opened!"] = "Portals have opened!", -- TODO: French translation missing !!!!
Modules/Avatus.lua:53:-- ["Gun Grid Activated"] = "Gun Grid Activated", -- TODO: French translation missing !!!!
Modules/Avatus.lua:59:-- ["PURGE BLUE BOSS"] = "PURGE BLUE BOSS", -- TODO: French translation missing !!!!
Modules/Avatus.lua:61:-- ["GO TO SIDES !"] = "GO TO SIDES !", -- TODO: French translation missing !!!!
Modules/Avatus.lua:62:-- ["INTERRUPT CRUSHING BLOW!"] = "INTERRUPT CRUSHING BLOW!", -- TODO: French translation missing !!!!
You can’t perform that action at this time.