Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanSalwan committed Jul 22, 2014
1 parent 18a1865 commit c945169
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 22 deletions.
4 changes: 3 additions & 1 deletion ROPgadget.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##

import ropgadget
ropgadget.main()

ropgadget.main()
7 changes: 4 additions & 3 deletions ropgadget/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
import args,binary,core,gadgets,options,rgutils,updateAlert,version
import loaders,ropchain

import args, binary, core, gadgets, options, rgutils, updateAlert, version
import loaders, ropchain

def main():
import sys
from args import Args
from core import Core
sys.exit(Core(Args().getArgs()).analyze())
sys.exit(Core(Args().getArgs()).analyze())
2 changes: 1 addition & 1 deletion ropgadget/loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.

import elf, macho, pe, raw
pass
3 changes: 2 additions & 1 deletion ropgadget/ropchain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
import ropmaker,arch

import ropmaker, arch
2 changes: 1 addition & 1 deletion ropgadget/ropchain/arch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##

import ropmakerx86
pass
4 changes: 3 additions & 1 deletion scripts/ropgadget
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##

import ropgadget
ropgadget.main()

ropgadget.main()
29 changes: 15 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
from setuptools import setup
import os

from setuptools import setup
import os

package_name = "ROPGadget"
package_dir = "ropgadget"
Expand Down Expand Up @@ -44,22 +45,22 @@ def fullsplit(path, result=None):
version = "5.2"

setup(
name = package_name,
version = version,
description = package_description,
packages = packages,
license = "GLPv2",
author = "Jon Salwan",
author_email = "[email protected]",
install_requires= ['capstone'],
url = "https://github.com/JonathanSalwan/ROPgadget",
scripts = ['scripts/ropgadget'],
classifiers = [
name = package_name,
version = version,
description = package_description,
packages = packages,
license = "GLPv2",
author = "Jonathan Salwan",
author_email = "[email protected]",
install_requires = ['capstone'],
url = "https://github.com/JonathanSalwan/ROPgadget",
scripts = ['scripts/ropgadget'],
classifiers = [
'Topic :: Security',
'Environment :: Console',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers'
]
)
)

0 comments on commit c945169

Please sign in to comment.