EnglishFrenchSpanish

Ad


OnWorks favicon

cobfusc - Online in the Cloud

Run cobfusc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cobfusc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cobfusc — make a C source file unreadable but compilable

SYNOPSIS


cobfusc [-AabdemntxV] [-c case] [-f suffix] [-g file] [-i idobf]
[-o file] [-p prefix] [-r file] [-s seed] [-u file] [-w cols]
[-z file] [file ...]

DESCRIPTION


This document contains only a brief description of cobfusc. For a more complete
documentation, please read the Info file or the Texinfo manual.

The cobfusc utility converts the input file, written in the C language, into a human
unreadable one, but compilable. The main work is converting every identifier into a
meaningless one, removing any comment and compacting all the white-spaces when they are not
required.

The options are as follows:

-A Enable a heavy obfuscation for the source file. This is equivalent to the -ademt -i
numeric options. The digraphize option is not enabled by default since the
Amendement 1 (1994) changes to ANSI X3.159-1989 (“ANSI C89”) are supported only by
few C compilers.

-a Garble every string with octal escapes.

-b Enable the digraphize mode.

-c no | lower | upper | screw | random
Set the identifier case obfuscation mode.

-d Compact the macros removing backslashes and white-spaces when they are not required.

-e Compact the white-spaces when they are not required.

-f suffix
Put the output of each processed file in a separate file with suffix appended to
file name instead of standard output. This is useful when processing a package with
a lot of source files.

-g file
Add first the identifiers contained in file to the obfuscation table. Useful when
those identifiers are shared between two or more source files.

-i no | numeric | word | random
Set the identifier obfuscation mode.

-m Strip the comments.

-n Garble integers with expressions.

-o file
Set the output destination to file.

-p prefix
Specify the prefix to use when generating the identifiers.

-r file
Tell cobfusc that the identifiers contained in file must not be obfuscated.

-s seed
Specify the seed for generating the random numbers.

-t Enable the trigraphize mode.

-u Dump the symbol table to file.

-V Print version information on standard output then exit.

-w Set the width limit of the output.

-x Exclusive mode; obfuscate only the identifiers specified by the -g and -z
parameters.

-z file
Add the identifiers pairs contained in file to the obfuscation table.

Use cobfusc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 3
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands

  • 1
    a2j
    a2j
    a2j - Wrapper script to simulate
    a2jmidid's non-DBUS behaviour though
    a2jmidid actually being in DBUS mode ...
    Run a2j
  • 2
    a2jmidid
    a2jmidid
    a2jmidid - JACK MIDI daemon for ALSA
    MIDI ...
    Run a2jmidid
  • 3
    corebird
    corebird
    corebird - Native Gtk+ Twitter client
    for the Linux desktop. ...
    Run corebird
  • 4
    coredumpctl
    coredumpctl
    coredumpctl - Retrieve coredumps from
    the journal ...
    Run coredumpctl
  • 5
    ganyremotex
    ganyremotex
    ganyremote - GTK+ frontend for
    anyRemote ...
    Run ganyremotex
  • 6
    gap
    gap
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap
  • More »

Ad