Tool to compile and run C programs like a shell script.
First of all, this is not the same as tcc. TCC is a compiler. TCC will preform
its own set of optimizations, just as GCC will preform its own and Clang will
preform its own. The purpose of this script is to give a simple front-end to a
compiler.
Whether it's GCC, Clang, or something else entirely, one can get to choose
their compiler. It's simply satisfying to type c hello.c and see it run
instantly.
C is fast. Being able to write a small, fast, and portable C "script" is great.
One can pass around a C "script" just like s/he would a BASH script.
XORSearch is a program to search for a given string in an XOR or
ROL encoded binary file. An XOR encoded binary file is a file where
some (or all) bytes have been XORed with a constant value (the key).
A ROL (or ROR) encoded file has it bytes rotated by a certain number
of bits (the key). XOR and ROL/ROR encoding is used by malware
programmers to obfuscate strings like URLs.
XORSearch will try all XOR keys (0 to 255) and ROL keys (1 to 7)
when searching. I programmed XORSearch to include key 0, because
this allows to search in an unencoded binary file (X XOR 0 equals
X).
If the search string is found, XORSearch will print it until the 0
(byte zero) is encountered or until 50 characters have been printed,
which ever comes first. 50 is the default value, it can be changed
with option -l. Unprintable characters are replaced by a dot.
clockspeed uses a hardware tick counter to compensate for a persistently
fast or slow system clock. Given a few time measurements from a reliable
source, it computes and then eliminates the clock skew.
sntpclock checks another system's NTP clock, and prints the results in a
format suitable for input to clockspeed. sntpclock is the simplest
available NTP/SNTP client.
taiclock and taiclockd form an even simpler alternative to SNTP. They
are suitable for precise time synchronization over a local area network,
without the hassles and potential security problems of an NTP server.
This version of clockspeed can use the Pentium RDTSC tick counter or the
Solaris gethrtime() nanosecond counter.
A port to non-i386 platforms was done using the clock_gettime(2)
function. Since this is somewhat experimental, there might be some
tiny precision differences from the i386 platform versions. You
have been warned!
Doscan is a tool to quickly scan your network for machines listening on a
TCP port, opening thousands of TCP connections in parallel.
Features
High scanning rate: five to ten minutes per 100,000 addresses (which
are sparsely populated with hosts), with rather conservative timeouts.
Load distribution: doscan scans the addresses in a seemingly random
order. If your scan host is connected to a central router, this ensures
that the load is distributed across your network, and you are
stress-testing just a single router, and not your edge devices.
Low memory consumption: memory usage is proportional to the number
of hosts which have responded so far, and to the number of parallel
connections. The total number of addresses does not influence memory usage
in any way.
Can collect responses: doscan optionally records data which is sent
by the hosts which are being scanned. You can even specify a regular
expression to extract part of a server banner, and a message to send to
trigger a response (great for determining HTTP server versions).
Extensibility: It is possible to add special handlers for TCP-based
protocols, using a straightforward interface.
It supports scanning the vulnerable Microsoft DCOM implementation.
Fudge is a Python module for using fake objects (mocks, stubs, etc) to test
real ones.
This module is designed for two specific situations:
* Replace an object
o Temporarily return a canned value for a method or allow a method
to be called without affect.
* Ensure an object is used correctly
o Declare expectations about what methods should be called and what
arguments should be sent.
Fudge was inspired by Mocha which is a simpler version of jMock. But unlike
Mocha, Fudge does not automatically hijack real objects; you explicitly patch
them in your test setup. And unlike jMock, Fudge is only as strict about
expectations as you want it to be. If you just want to expect a method call
without worrying about its arguments or the type of the arguments then you
can.
Dungeon Master Java is a remake of the classic FTL game Dungeon Master.
It is written entirely in Java, and is designed to run as a stand-alone
application rather than an applet in a web browser. It has high-resolution
graphics that simulate a 3D environment. Most of the graphics are rendered
in the free ray-tracer Pov-Ray. Item graphics and character portraits are
done by hand with a paint program, though many are simply taken from the
original and its sequels and touched-up.
Gameplay is very similar to the original, with real-time action, 90-degree
turns, and step-by-step movement. One major change from the original is that
monsters are not "stuck" in groups: they are completely free to wander,
sometimes occupying a square with other monsters and sometimes not.
In 1.1.5 version, the Neverball and Neverputt source trees have been merged
into one. It includes 75 Neverball levels and 62 Neverputt levels.
Neverball, tilt the floor to roll a ball through an obstacle course within the
given time. It is part puzzle game, part action game, and entirely a test of
skill. If the ball falls or time expires, a ball is lost. Collect coins to
unlock the exit and earn extra balls. Red coins are worth 5. Blue coins are
worth 10. A free ball is awarded for 100 coins.
Neverputt, a hot-seat multiplayer miniature golf game using the physics and
graphics of Neverball.
Neverball and Neverputt are known to run under Linux, Win2K/XP, FreeBSD, and
OSX. Hardware accelerated OpenGL with multitexture (OpenGL 1.2.1 or greater)
is required. A 500MHz processor is recommended.
XRally is a Linux clone of the classic Rally X arcade game. For
those who don't know, in Rally X you control a blue (good) car,
that has to collect yellow flags around a maze-like map, while
avoiding the red (bad) cars. In order to help himself, the blue car
can use clouds of smoke through the maze. If a enemy touch any of
these clouds, it stops for a while. The enemy cars can also crash
one with the other, what gives you some extra time.
XRally is written in C using only the basic Xlib and Xpm libraries.
It's a project aimed mainly at newbie X11/Game programmers like me
(but any experienced help is appreciated! :) )
DB Browser for SQLite is a light GUI editor for SQLite databases,
built on top of Qt. The main goal of the project is to allow
non-technical users to create, modify and edit SQLite databases
using a set of wizards and a spreadsheet-like interface.
This project has previous been known as "SQLite Browser" and "Database
Browser for SQLite". "DB Browser for SQLite" will hopefully be the
name that sticks. :)
A lot of Perl code ends up with scalars having either a single scalar value
or a reference to an array of scalar values. In order to handle the two
conditions, one must check for what is in the scalar value before getting on
with one's task. Ie:
$text_scalar = 'text';
$aref_scalar = [ 1.. 5 ];
print ref($text_scalar) ? (join ':', @$text_scalar) : $text_scalar;
And this module is designed to address just that!