Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angr/rex
/ functions
Functions
417 in github.com/angr/rex
⨍
Functions
417
◇
Types & classes
100
↓ 68 callers
Method
join
(self, thread_id)
rex/network_feeder.py:45
↓ 35 callers
Method
check_fail_reason
Log why the check fails. :param str reason: A reason for why the check fails. :return: None
rex/exploit/technique.py:51
↓ 25 callers
Method
one_of
Test if a self's crash has one of the vulnerabilities described in crash_types
rex/crash.py:660
↓ 23 callers
Method
copy
(self, memo)
rex/exploit/techniques/explore_for_exploit.py:160
↓ 20 callers
Method
exploit
Initialize an exploit factory, with which you can build exploits. :return: An initialized ExploitFactory instance. :rtype
rex/crash.py:742
↓ 16 callers
Function
_do_pov_test
Test a POV
tests/test_rex.py:26
↓ 13 callers
Method
_ip_overwrite_with_chain
exploit an ip overwrite using rop :param chain: rop chain to use :param state: an optionally state to work off of :pa
rex/exploit/technique.py:448
↓ 12 callers
Method
_make_c_int_arr
(list_of_ints)
rex/exploit/cgc/cgc_exploit.py:269
↓ 12 callers
Method
fire
(self)
rex/network_feeder.py:35
↓ 11 callers
Method
_find_func_address
find the address of a function given it's name @symbol :param symbol: function name to lookup :return: the function's address
rex/exploit/technique.py:314
↓ 9 callers
Method
test_binary
Test the binary generated
rex/exploit/cgc/cgc_exploit.py:637
↓ 7 callers
Method
_windup_to_unconstrained_successor
windup of the state of the crash to the first unconstrained successor
rex/exploit/technique.py:334
↓ 7 callers
Function
convert_arch
Convert an arch ID or an archinfo.Arch instance to an archinfo.Arch instance.
rex/exploit/utils.py:5
↓ 7 callers
Method
script
(self, filename=None, stype='py')
rex/exploit/exploit.py:92
↓ 6 callers
Function
_do_pov_test
Test a POV
tests/test_chall_resp.py:13
↓ 6 callers
Method
get_bitmask_for_var
(self, state, var)
rex/exploit/technique.py:124
↓ 6 callers
Method
render
How this action should be translated in standalone exploits How to translate this action into standalone exploit
rex/exploit/actions.py:12
↓ 5 callers
Method
_find_global_address_for_string
(self, data)
rex/exploit/technique.py:214
↓ 5 callers
Method
_generate_formula
This function is used to generate the equations which are inserted inside C exploits
rex/exploit/cgc/cgc_exploit.py:149
↓ 5 callers
Method
_init_angr_project_bow
(self, target)
rex/crash_tracer/__init__.py:94
↓ 5 callers
Method
_run_dupsh
(self, arch, fd_to_dup)
tests/test_shellcodes.py:28
↓ 5 callers
Method
apply
Applies the exploit technique to the crashing state, returns a working Exploit object or raises a CannotExploit exception :r
rex/exploit/technique.py:62
↓ 5 callers
Method
copy
(self)
rex/crash.py:973
↓ 4 callers
Method
__init__
:param aslr: Analyze the crash with aslr on or off. :param use_crash_input: if a byte is not constrained by the ge
rex/crash.py:616
↓ 4 callers
Function
_check_arsenal_has_send
(arsenal)
tests/test_rex.py:33
↓ 4 callers
Function
_get_byte
(var_name)
rex/exploit/cgc/cgc_exploit.py:13
↓ 4 callers
Method
check_shellcode_existence
(self, name)
rex/exploit/shellcode_factory.py:37
↓ 4 callers
Method
point_to_flag
[CGC only] Create a test case which points an arbitrary-read crash at the flag page.
rex/crash.py:785
↓ 4 callers
Method
read
(self, pos, size, **kwargs)
rex/preconstrained_file_stream.py:13
↓ 3 callers
Method
_attempt_jump
(self, constraints, addr, bypasses_nx=False, bypasses_aslr=True)
rex/exploit/techniques/call_shellcode.py:242
↓ 3 callers
Method
_fix_reg_vals
(self, reg_vals)
rex/pov_fuzzing/fuzzing_type_2.py:182
↓ 3 callers
Method
_get_fill_byte
(self)
rex/exploit/technique.py:150
↓ 3 callers
Method
_get_libc_func_addr
(self, func_name)
rex/exploit/technique.py:597
↓ 3 callers
Method
_get_libc_obj
(self)
rex/exploit/technique.py:581
↓ 3 callers
Method
_read_in_global_data
call a read with with rop into globally addressable memory
rex/exploit/technique.py:217
↓ 3 callers
Method
_reconstrain_flag_data
[CGC only] Constrain data in the flag page.
rex/crash.py:1251
↓ 3 callers
Method
_replace_bytes
(data, idx, new)
rex/crash_tracer/dumb_tracer.py:426
↓ 3 callers
Method
_replace_indices
(s, c, indices)
rex/pov_fuzzing/fuzzing_type_2.py:171
↓ 3 callers
Method
_script_get_actions_tcp
(self, parameterize_target_ip=False)
rex/exploit/exploit.py:138
↓ 3 callers
Method
_write_global_data
write @data into globally addressable memory :return: tuple of the address of the string and the constraint which adds the string
rex/exploit/technique.py:170
↓ 3 callers
Method
dump
default behavior for payload dumper
rex/exploit/exploit.py:99
↓ 3 callers
Method
exploitable
Determine if the crash is exploitable. :return: True if the crash's type is generally considered exploitable, False otherwise
rex/crash.py:670
↓ 3 callers
Method
explorable
Determine if the crash can be explored with the 'crash explorer'. :return: True if the crash's type lends itself to exploring, only
rex/crash.py:682
↓ 3 callers
Method
get_shellcode
grab a shellcode with a known name
rex/exploit/shellcode_factory.py:58
↓ 3 callers
Method
input_type_to_channel
(self, input_type)
rex/crash.py:573
↓ 3 callers
Method
raw
return a raw string representing the shellcode, subclasses which more sophisticated shellcodes will want to take options here.
rex/exploit/shellcode.py:43
↓ 3 callers
Method
reuse_input_constraints
(self, sim_inp, idx, inp, state=None)
rex/exploit/exploit.py:58
↓ 2 callers
Method
__init__
(self, addr, data, min_addr, max_addr, assigned_loc, mem_range)
rex/exploit/techniques/explore_for_exploit.py:26
↓ 2 callers
Method
_at_syscall
(self, state)
rex/exploit/technique.py:351
↓ 2 callers
Method
_attempt_write_nopsled
(state, shellcode, start, nopsled_size, nopsled_chunk)
rex/exploit/techniques/call_shellcode.py:252
↓ 2 callers
Method
_create_copy_bytes_code
(self, start, end)
rex/pov_fuzzing/fuzzing_type_1.py:566
↓ 2 callers
Method
_create_translation_c
(self, register)
rex/pov_fuzzing/fuzzing_type_1.py:466
↓ 2 callers
Function
_do_arbitrary_transmit_test_for
(binary)
tests/test_rex.py:359
↓ 2 callers
Method
_encode_cmd
(self, cmd_str)
rex/exploit/technique.py:606
↓ 2 callers
Method
_get_cache_path
(binary)
rex/crash.py:165
↓ 2 callers
Method
_get_circumstantial_constraints
(self, state, rop_uncontrolled)
rex/exploit/techniques/rop_leak_memory.py:44
↓ 2 callers
Function
_get_free_tcp_port
Return a TCP port that is currently free.
tests/test_rex.py:237
↓ 2 callers
Method
_identify_crash_addr
run the target once to identify crash_addr
rex/crash_tracer/dumb_tracer.py:163
↓ 2 callers
Method
_input_preparation
(self, crash_input, actions, input_type)
rex/crash.py:383
↓ 2 callers
Method
_ip_overwrite_call_shellcode
exploit an ip overwrite with shellcode. This is HIGHLY CGC-specific. :param shellcode: shellcode to call :param variables: v
rex/exploit/technique.py:372
↓ 2 callers
Method
_longest_common_prefix
(strs)
rex/pov_fuzzing/fuzzing_type_2.py:433
↓ 2 callers
Method
_longest_common_prefix
(strs)
rex/pov_fuzzing/fuzzing_type_1.py:348
↓ 2 callers
Method
_prepare_channel
translate pov_file or input to channel and test_case
rex/crash.py:552
↓ 2 callers
Method
_prepare_exploit_factory
(self, blacklist_symbolic_explore=True, **kwargs)
rex/crash.py:704
↓ 2 callers
Method
_replace_indices
(s, c, indices)
rex/pov_fuzzing/fuzzing_type_1.py:126
↓ 2 callers
Method
_script_get_actions_stdin
(self, parameterize_target_ip=False)
rex/exploit/exploit.py:179
↓ 2 callers
Method
_segment
Given a set of addresses, group into a dict mapping from address to length :param Iterable memory_writes: Addresses in memory
rex/crash.py:1383
↓ 2 callers
Method
_symbolic_control
Determine the amount of symbolic bits in an AST, useful to determining how much control we have over registers. :param st:
rex/crash.py:1274
↓ 2 callers
Method
_write_some_data
(self, data, control, alignment=1, good_addr=None)
rex/exploit/technique.py:156
↓ 2 callers
Method
analyze_bytes
(self, byte_indices)
rex/pov_fuzzing/fuzzing_type_2.py:210
↓ 2 callers
Method
analyze_bytes
(self, byte_indices)
rex/pov_fuzzing/fuzzing_type_1.py:152
↓ 2 callers
Method
attack
(self, path, write_addrs, initial_state)
rex/exploit/techniques/explore_for_exploit.py:343
↓ 2 callers
Function
build_docker
()
tests/broken_hammer_controller_docker.py:10
↓ 2 callers
Method
check_shellcode_for_incompatible_chars
(shellcode_bytes)
rex/exploit/shellcode.py:32
↓ 2 callers
Method
contain_bad_byte
(self, ptr)
rex/exploit/techniques/ret2libc.py:33
↓ 2 callers
Method
exploitable
(self)
rex/pov_fuzzing/fuzzing_type_1.py:446
↓ 2 callers
Method
explore
explore a crash further to find new bugs
rex/crash.py:765
↓ 2 callers
Method
find_system_addr
(self)
rex/exploit/techniques/rop_to_system.py:18
↓ 2 callers
Function
force_kill
(r)
rex/utils/curl2rexaction.py:44
↓ 2 callers
Method
get_default
retrieve the default shellcode as a raw string
rex/exploit/shellcode_factory.py:43
↓ 2 callers
Method
memory_control
determine what symbolic memory we control which is at a constant address TODO: be able to specify that we want to know about things
rex/crash.py:838
↓ 2 callers
Method
run
(self)
rex/pov_fuzzing/fuzzing_type_2.py:160
↓ 2 callers
Method
stack_control
determine what symbolic memory we control on the stack. :param bool below_sp: True if we only want to find the number of symbolic
rex/crash.py:887
↓ 2 callers
Method
test_binary
Test the binary generated
rex/pov_fuzzing/fuzzing_type_2.py:682
↓ 1 callers
Method
__init__
(self)
rex/crash_tracer/dumb_tracer.py:32
↓ 1 callers
Method
__init__
(self)
rex/exploit/cgc/cgc_exploit.py:73
↓ 1 callers
Method
_channel_to_input_type
(channel)
rex/crash_tracer/__init__.py:102
↓ 1 callers
Method
_clean_formula
(self, solver)
rex/exploit/cgc/cgc_exploit.py:33
↓ 1 callers
Method
_concretize_input
(self)
rex/exploit/exploit.py:84
↓ 1 callers
Method
_create_boolector_parse
(btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:374
↓ 1 callers
Method
_create_byte_setters
(self, solver, btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:400
↓ 1 callers
Method
_create_constrain_integers
(self, solver, btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:453
↓ 1 callers
Method
_create_constrain_stdin
(solver, btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:423
↓ 1 callers
Method
_create_constrain_stdout
(solver, btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:439
↓ 1 callers
Method
_create_constrain_vals
(self, solver, btor_name, formula)
rex/exploit/cgc/cgc_exploit.py:386
↓ 1 callers
Method
_create_initial_state
(self, testcase, cgc_flag_page_magic=None)
rex/crash.py:495
↓ 1 callers
Method
_create_read_bytes
(self, end_idx)
rex/exploit/cgc/cgc_exploit.py:500
↓ 1 callers
Method
_create_send_stdin
(num_bytes, min_stdout_needed)
rex/exploit/cgc/cgc_exploit.py:518
↓ 1 callers
Method
_create_solvers
(self, ft, extra_vars_to_solve=None)
rex/exploit/cgc/cgc_exploit.py:182
↓ 1 callers
Method
_create_translation_c_number
(self, register, num_obj)
rex/pov_fuzzing/fuzzing_type_1.py:524
next →
1–100 of 417, ranked by callers