Skip to content

Commit

Permalink
GNU GPLv3 licence added
Browse files Browse the repository at this point in the history
  • Loading branch information
duroz committed Mar 12, 2021
1 parent b1c511c commit d1fd05b
Show file tree
Hide file tree
Showing 12 changed files with 865 additions and 7 deletions.
674 changes: 674 additions & 0 deletions LICENCE

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion rop3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#/usr/bin/env python3
#!/usr/bin/env python3

'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import rop3

Expand Down
17 changes: 17 additions & 0 deletions rop3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import os
import sys

Expand Down
17 changes: 17 additions & 0 deletions rop3/args.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import argparse

import rop3.debug as debug
Expand Down
17 changes: 17 additions & 0 deletions rop3/binaries/pe.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import pefile
import capstone

Expand Down
17 changes: 17 additions & 0 deletions rop3/binary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import os

import rop3.debug as debug
Expand Down
17 changes: 17 additions & 0 deletions rop3/debug.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import sys
import logging

Expand Down
17 changes: 17 additions & 0 deletions rop3/gadfinder.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import re
import capstone

Expand Down
17 changes: 17 additions & 0 deletions rop3/operation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import capstone

import rop3.template as template
Expand Down
17 changes: 17 additions & 0 deletions rop3/ropchain.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import os
import re
import copy
Expand Down
17 changes: 17 additions & 0 deletions rop3/template.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import re
import copy
import capstone.x86_const as x86_const
Expand Down
26 changes: 20 additions & 6 deletions rop3/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
'''
This file is part of rop3 (https://github.com/reverseame/rop3).
rop3 is free software: you can redistribute it and/or modify
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.
rop3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with rop3. If not, see <https://www.gnu.org/licenses/>.
'''

import os
import glob
import yaml
Expand All @@ -6,13 +23,10 @@
GADGET_FOLDER = os.path.join(os.path.dirname(__file__), 'gadgets')

MAJOR = 0
MINOR = 1
MINOR = 9
PATCH = 0
VERSION = '{0}.{1}.{2}'.format(MAJOR, MINOR, PATCH)

AUTHOR = 'Daniel Uroz'
EMAIL = 'duroz@unizar.es'

TOOL_NAME = os.path.basename(os.path.realpath(__main__.__file__))

HEADER = '\
Expand All @@ -28,14 +42,14 @@
888 \n\
888\n\
\n\
A tool of RME, a part of the DisCo research group from University of Zaragoza\
A tool of RME-DisCo Research Group from University of Zaragoza\n\
<https://reversea.me/>\
'

def show_version():
print(HEADER)
print()
print('Version: {0} v{1}'.format(TOOL_NAME, VERSION))
print('Author: {0} <{1}>'.format(AUTHOR, EMAIL))

def format_gadget(gad):
return '[{0} @ {1:#x}]: {2}'.format(os.path.basename(gad['file']), gad['vaddr'], gad['gadget'])
Expand Down

0 comments on commit d1fd05b

Please sign in to comment.