Skip to content

ThomasHabets/clipsniff

Repository files navigation

clipsniff/README

 ClipSniff

   By Thomas Habets <thomas@habets.pp.se>

 http://www.habets.pp.se/synscan/
 http://github.com/ThomasHabets/clipsniff
 git clone git://github.com/ThomasHabets/clipsniff.git


Introduction
------------
Sniff clipboard of an X session and store it into a sqlite3 database.

Or just show what's there right now.


Dependencies
------------
X development libraries.
SQLite3

Debian: apt-get install libx11-dev libsqlite3-dev


Installing
----------
./configure
make
make install

Create output file:

$ sqlite3 foo.db
sqlite> CREATE TABLE clipboard(
          ts datetime not null,
          owner text not null,
          name text not null,
          data text not null);


Helpful links when coding Xlib
------------------------------
* http://www.gelato.unsw.edu.au/IA64wiki/XGetWindowProperty
* http://www.sbin.org/doc/Xlib/
* http://www.jwz.org/doc/x-cut-and-paste.html

----------------------------------------------------------------------------
Send questions/suggestions/patches/rants/money/ciscos to thomas@habets.pp.se

About

Sniff the clipboard of a Unix X server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages