-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed steghide tests * Add initial build / test script * Update build script * Restructured tests * Added placeholder stegseek tests to play with CI * Add prints * Add test windows build * fixed issue in package install step * Add .deb packaging * remove INSTALL from makefile * fixed missing extension * Updated README with .deb * Update gitignore
- Loading branch information
1 parent
b07bf12
commit 4cefb85
Showing
102 changed files
with
209 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install build dependencies | ||
run: sudo apt install -y libmhash-dev libmcrypt-dev libjpeg-dev zlib1g-dev autoconf build-essential | ||
- name: autoreconf | ||
run: autoreconf -i | ||
- name: configure | ||
run: ./configure | ||
- name: make | ||
run: make | ||
- name: make check | ||
run: make check | ||
- name: Run cracker tests | ||
run: cd tests/stegseek && ./testCracker.sh && cd ../.. | ||
- name: Create a .deb package | ||
run: bash package/package.sh | ||
- name: Save the .deb as a build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: stegseek-deb-package | ||
path: stegseek*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Build instructions | ||
## Installing dependencies | ||
Running the following command will install all required dependencies: | ||
|
||
```bash | ||
sudo apt install libmhash-dev libmcrypt-dev libjpeg-dev zlib1g-dev git autoconf build-essential | ||
``` | ||
|
||
## Building Stegseek | ||
|
||
First, clone this repo by calling: | ||
``` | ||
git clone https://github.com/RickdeJager/stegseek.git | ||
``` | ||
|
||
Next, enter the following commands to build and install Stegseek: | ||
|
||
```bash | ||
cd stegseek | ||
autoreconf -i | ||
./configure | ||
make | ||
sudo make install | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Package: stegseek | ||
Version: <<VERSION>> | ||
Section: base | ||
Priority: optional | ||
Architecture: amd64 | ||
Depends: libmhash2, libmcrypt4, libjpeg8, zlib1g | ||
Maintainer: Rick de Jager <rickdejager99@gmail.com> | ||
Description: Fast steghide cracking utility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
################################################## | ||
# Basic packaging script | ||
################################################## | ||
# | ||
# Creates a very basic package, meant for Github releases | ||
# It won't hold up to Debian/Ubuntu standards, but will still | ||
# be useful as a release | ||
# | ||
|
||
NAME="stegseek" | ||
VER="0.1" | ||
REV="1" | ||
VERSION="${VER}-${REV}" | ||
PACKAGE="${NAME}_${VERSION}" | ||
INSTALL_PATH="${PACKAGE}/usr/local/bin/" | ||
|
||
# Create a relative root | ||
mkdir -p ${INSTALL_PATH} | ||
# Copy the binary over | ||
cp "src/${NAME}" ${INSTALL_PATH} | ||
|
||
# Create a DEBIAN directory | ||
mkdir -p "${PACKAGE}/DEBIAN" | ||
|
||
# Copy the control file over | ||
cp package/control "${PACKAGE}/DEBIAN" | ||
# Edit the version | ||
sed -i "s/<<VERSION>>/${VERSION}/g" "${PACKAGE}/DEBIAN/control" | ||
|
||
# Build the package | ||
dpkg-deb --build ${PACKAGE} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.