from PyQt5 import QtWidgets, QtGui
class ListViewDemoDialog(QtWidgets.QDialog):
def __init__(self):
super(ListViewDemoDialog, self).__init__()
# create a layout to place controllers (called widgets) on
layout = QtWidgets.QVBoxLayout()| import pefile | |
| import sys | |
| import datetime | |
| import zlib | |
| """ | |
| Author: Alexander Hanel | |
| Summary: Most common pefile usage examples | |
| Date: 20181226 | |
| """ |
| import base64 | |
| import sys | |
| import re | |
| import gzip | |
| import StringIO | |
| import hexdump as h | |
| from capstone import * | |
| # old code from https://bitbucket.org/snippets/Alexander_Hanel/onboA/p0wnedshell-shellcode-extractor |
| import yara | |
| import operator | |
| import idautils | |
| SEARCH_CASE = 4 | |
| SEARCH_REGEX = 8 | |
| SEARCH_NOBRK = 16 | |
| SEARCH_NOSHOW = 32 | |
| SEARCH_UNICODE = 64 | |
| SEARCH_IDENT = 128 |
| import ida_yara | |
| import idautils | |
| def is_lib(ea): | |
| flags = idc.get_func_attr(ea, FUNCATTR_FLAGS) | |
| if flags & FUNC_LIB: | |
| return True | |
| else: | |
| return False |
| import sys | |
| import re | |
| import pefile | |
| import string | |
| import struct | |
| from capstool import CapsTool | |
| from capstone import * | |
| from capstone.x86 import * | |
| BCC = ["je", "jne", "js", "jns", "jp", "jnp", "jo", "jno", "jl", "jle", "jg", |
| import sys | |
| import re | |
| import pefile | |
| import string | |
| import struct | |
| from capstool import CapsTool | |
| from capstone import * | |
| from capstone.x86 import * | |
| BCC = ["je", "jne", "js", "jns", "jp", "jnp", "jo", "jno", "jl", "jle", "jg", |
| #!/bin/bash | |
| INPUT=$1 | |
| name=${INPUT%.*} | |
| ncmd=$(printf "nasm -f elf64 %s" "$INPUT") | |
| eval $ncmd | |
| ll=$(printf "ld %s.o -o %s" "$name" "$name") | |
| eval $ll | |
| tt=$(printf "chmod +x %s" "$name") | |
| xx=$(printf "./%s" "$name") | |
| eval $xx |
Occasionally I get asked what resources I would recommend for someone who wants to get into working out or to start exercising. The following is a list of resources that I have found useful over the years.
The first resource I would recommend is the book Core Performance. It is probably the best introductory book that you can read on exercising. Its not a book about picking up weights. That is only one of the seven parts of this book. It covers movement prep (dynamic stretching), prehab, physio-ball routines (stability), elasticity, strength, cardio and regeneration. All of these topics are perfect for anyone getting into exercising or anyone who wants to prevent injuries. The book has beginner, intermediate and advanced routines in the back. TIP: download the app FitNotes. It might take a little bit of time to add your routines but it is the best app available. I st
Occasionally I get asked what resources I would recommend for someone who wants to get into working out or to start exercising. The following is a list of resources that I have found useful over the years.
The first resource I would recommend is the book Core Performance. It is probably the best introductory book that you can read on exercising. Its not a book about picking up weights. That is only one of the seven parts of this book. It covers movement prep (dynamic stretching), prehab, physio-ball routines (stability), elasticity, strength, cardio and regeneration. All of these topics are perfect for anyone getting into exercising or anyone who wants to prevent injuries. The book has beginner, intermediate and advanced routines in the back. TIP: download the app FitNotes. It might take a little bit of time to add your routines but it is the best app a