Skip to content

Commit

Permalink
v0.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-rushil committed Nov 25, 2019
1 parent 1aaeaaf commit 42b08e0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dgaintel.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: dgaintel
Version: 0.4
Summary: predict whether a domain is genuine or DGA.
Version: 0.6
Summary: Predict whether a domain name is genuine or DGA.
Home-page: https://github.com/sudo-rushil/dgaintel
Author: Rushil Mallarapu
Author-email: rushil.mallarapu@gmail.com
License: MIT
Download-URL: https://github.com/sudo-rushil/dgaintel/archive/v0.4.tar.gz
Download-URL: https://github.com/sudo-rushil/dgaintel/archive/v0.6.tar.gz
Description: UNKNOWN
Keywords: DGA,Domain,Domain Generation,Domain Classifier,Deep Learning,AI,RNN,LSTM,CNN-LSTM,CNN
Platform: UNKNOWN
Expand Down
2 changes: 2 additions & 0 deletions dgaintel.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
MANIFEST.in
README.md
setup.cfg
setup.py
dgaintel/__init__.py
dgaintel/domain_classifier_model.h5
dgaintel/predict_domain.py
dgaintel.egg-info/PKG-INFO
dgaintel.egg-info/SOURCES.txt
Expand Down
4 changes: 3 additions & 1 deletion dgaintel/predict_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import numpy as np
import os

saved_model_path = os.path.join(os.getcwd(), 'dgaintel/domain_classifier_model.h5')
dir_path = os.path.dirname(os.path.abspath(__file__))
saved_model_path = os.path.join(dir_path, 'domain_classifier_model.h5')

model = load_model(saved_model_path)
char2idx = {'-': 0, '.': 1, '0': 2, '1': 3, '2': 4, '3': 5,
'4': 6, '5': 7, '6': 8, '7': 9, '8': 10, '9': 11,
Expand Down
Binary file added dist/dgaintel-0.5.tar.gz
Binary file not shown.
Binary file added dist/dgaintel-0.6.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
setup(
name = 'dgaintel', # How you named your package folder (MyLib)
packages = ['dgaintel'], # Chose the same as "name"
version = '0.5', # Start with a small number and increase it with every change you make
version = '0.6', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Predict whether a domain name is genuine or DGA.', # Give a short description about your library
author = 'Rushil Mallarapu', # Type in your name
author_email = 'rushil.mallarapu@gmail.com', # Type in your E-Mail
url = 'https://github.com/sudo-rushil/dgaintel', # Provide either the link to your github or to your website
download_url = 'https://github.com/sudo-rushil/dgaintel/archive/v0.5.tar.gz', # I explain this later on
download_url = 'https://github.com/sudo-rushil/dgaintel/archive/v0.6.tar.gz', # I explain this later on
keywords = ['DGA', 'Domain', 'Domain Generation', 'Domain Classifier', 'Deep Learning', 'AI', 'RNN', 'LSTM', 'CNN-LSTM', 'CNN'],
include_package_data=True,
install_requires=[ # I get to this in a second
Expand Down

0 comments on commit 42b08e0

Please sign in to comment.