Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.gitignore
#	README.md
#	YaraRules/api_keys.yar
#	YaraRules/base64.yar
#	YaraRules/database.yar
#	YaraRules/index.yar
#	YaraRules/powershell.yar
#	common.py
#	outputs/elastic_output.py
#	outputs/smtp_output.py
#	outputs/syslog_output.py
#	pastehunter.py
#	pastehunter/outputs/csv_output.py
#	pastehunter/outputs/json_output.py
#	settings.json.sample
  • Loading branch information
Plazmaz committed Jan 17, 2020
2 parents bd3d631 + 2d3e41d commit 45418ea
Show file tree
Hide file tree
Showing 52 changed files with 2,235 additions and 461 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ ENV/
.vscode/
logs/

.c9
.c9
pastehunter/YaraRules/custom_keywords.yar
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: python
sudo: required
dist: bionic
group: edge
cache:
pip: true
python:
- 3.6
- 3.6-dev
before_install:
- sudo apt-get update -qq
- sudo apt-get install automake libtool make gcc libmagic-dev -yqq python3-pip unzip
- wget https://github.com/VirusTotal/yara/archive/v3.10.0.tar.gz
- tar -xzvf v3.10.0.tar.gz
- cd yara-3.10.0/ && ./bootstrap.sh && ./configure --enable-dotnet --enable-magic
&& make && sudo make install && cd ../
- git clone --recursive https://github.com/VirusTotal/yara-python
- pip3 install pytest codecov pytest-cov
- cd yara-python
- python setup.py build --enable-magic --enable-dotnet
- python setup.py install && cd ../ && rm -rf yara-python && rm -rf yara-3.10.0/
install:
- pip install -r requirements.txt
- pip install -e .
script:
- pastehunter-cli
after_success:
- python setup.py sdist
deploy:
provider: pypi
user: __token__
password:
secure: ZYILSwAsPcCWa4Ccslu2F+HVw02Rafdf4HqnQla3uCCTlEQQ+cFyuTKxQB46xytgblFQv/99oxq3SwVTUX4C6cIa8D+zHm/6lR4Tu+YPthYZX9IashF/AMKkyKks8bxbB0x/3t7hBX+7w++OcC1wwCXUyX7btsiOBa28k1NZCsB26NgdpBn02wF/GwqDhkxKkW9Bi7KDjb58GdiyhgVXxOOaOYbRyKiNZqUKQx504zmc0aGSPYCs0gSPwoA0T3FUet4IBcjjTP9DsjjkyQ7K6iMWYNGsAP91HnZe5J4sZYqwrGs++vndJVa/bYpiyMCjUrG4c6okdS0zpSmfbrqJay12wH5qroqqLxwuLtrXcHK+ChlyvhsGHMN51rqX811zdt/IzDwi+hXz84e8Y8/YgUTx7j0/HPEdrHjIIbMoIEd9Wy42+TcRCHJOULjsg7Kc7KLd1ILvxxyV+REnkfaazeqmgSNlqFxM2A65dkq3xNt9CDtYQlX/IhTDBy2/qY3m60uOh92ptd5f5eHF28W89APnkRAHD2JSEVRym1fHNrvPl1NCJT8NavbdYup/dH8hQadMx72X022lmyFASHN92G78O3uA0fZ8B/hzCpVQ4KTTIT4/LqkAXuWlfW4z9wC62V2ZdL6E76lqbMPokeXfH8Tf+chAaw/XHr7Wk6bWkOQ=
on:
branch: master
skip_existing: true
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.2.1] - 2019-12-29
### Changed
- move config file to ~/.config
- move custom yara rules
- refactor yara rules location

## [1.2.0] - 2019-12-28
### Added
- Changelog
- travis CI
- PyPi Installation

### Changed
- FilePaths to enable pip
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include pastehunter/YaraRules *.yar
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ by an organisation or a researcher.

For setup instructions please see the official documentation https://pastehunter.readthedocs.io/en/latest/installation.html

[![PyPI version](https://badge.fury.io/py/pastehunter.svg)](https://badge.fury.io/py/pastehunter)

[![Build Status](https://travis-ci.org/kevthehermit/PasteHunter.svg?branch=master)](https://travis-ci.org/kevthehermit/PasteHunter)


## Supported Inputs
Pastehunter currently has support for the following sites:
- pastebin.com
Expand Down
14 changes: 0 additions & 14 deletions YaraRules/index.yar

This file was deleted.

16 changes: 0 additions & 16 deletions common.py

This file was deleted.

Loading

0 comments on commit 45418ea

Please sign in to comment.