MCPcopy Create free account

hub / github.com/angr/rex / functions

Functions417 in github.com/angr/rex

↓ 1 callersMethod_determine_nopsled_length
(self, stack_addrs, root, offset, shellcode)
rex/exploit/techniques/call_shellcode.py:222
↓ 1 callersFunction_do_pov_test
Test a POV
tests/slow_test_cromu71.py:15
↓ 1 callersFunction_do_pov_test
Test a POV
tests/manual_type2_fuzzer.py:10
↓ 1 callersMethod_explore_arbitrary_read
(self, path_file=None)
rex/crash.py:1044
↓ 1 callersMethod_explore_arbitrary_write
(self, path_file=None)
rex/crash.py:1100
↓ 1 callersMethod_filter_memory_writes
Filter all writes to memory and split them to symbolic memory bytes and flag memory bytes. :return: None
rex/crash.py:1155
↓ 1 callersMethod_find_libs_system_addrs
(self)
rex/exploit/techniques/ret2libc.py:36
↓ 1 callersMethod_find_unconstrained_memory_buffers
Determine if the memory buffer has enough freedom, i.e., is "unconstrained enough", to store shellcode in the future. :param
rex/exploit/techniques/call_shellcode.py:177
↓ 1 callersMethod_find_writable_region
(self, data)
rex/exploit/techniques/ret2libc.py:87
↓ 1 callersMethod_four_flag_bytes_offset
[CGC only] checks if an ast contains 4 contiguous flag bytes if so returns the offset in bytes, otherwise returns None :retu
rex/crash.py:1297
↓ 1 callersMethod_get_bit_patterns
(self, number_bits, bit_indices)
rex/pov_fuzzing/fuzzing_type_2.py:195
↓ 1 callersMethod_get_bit_patterns
(self, number_bits, bit_indices)
rex/pov_fuzzing/fuzzing_type_1.py:137
↓ 1 callersMethod_get_buffer_size
identify the size of bytes we control before overwriting return address
rex/crash_tracer/dumb_tracer.py:388
↓ 1 callersFunction_get_reg_vals
(binary_input_byte)
rex/pov_fuzzing/fuzzing_type_2.py:67
↓ 1 callersFunction_get_reg_vals
(binary_input_byte)
rex/pov_fuzzing/fuzzing_type_1.py:57
↓ 1 callersMethod_get_saved_ip_addr
input state is at the basic block moving input to ip
rex/crash_tracer/dumb_tracer.py:231
↓ 1 callersMethod_get_state_pointing_to_addr
(state, violating_addr, goal_addr)
rex/crash.py:1374
↓ 1 callersMethod_get_state_pointing_to_flag
[CGC only] Point an arbitrary-read location at the flag page. :param state: angr SimState instance. :param violati
rex/crash.py:1343
↓ 1 callersMethod_get_stdin_bytes
(solver)
rex/exploit/cgc/cgc_exploit.py:539
↓ 1 callersMethod_get_stdin_int_infos
(self, solver)
rex/exploit/cgc/cgc_exploit.py:273
↓ 1 callersMethod_get_stdin_start_indices
(self, solver)
rex/exploit/cgc/cgc_exploit.py:307
↓ 1 callersMethod_get_stdout_bytes
(solver)
rex/exploit/cgc/cgc_exploit.py:530
↓ 1 callersMethod_get_stdout_int_infos
(self, solver)
rex/exploit/cgc/cgc_exploit.py:290
↓ 1 callersMethod_get_writable_pages
(state)
rex/exploit/techniques/explore_for_exploit.py:193
↓ 1 callersMethod_get_writable_pages
(state)
rex/exploit/techniques/rop_leak_memory.py:26
↓ 1 callersMethod_hex_escape
(s)
rex/exploit/cgc/cgc_type1_exploit.py:38
↓ 1 callersMethod_identify_libc
(self)
rex/crash.py:84
↓ 1 callersMethod_initialize
Initialization steps. - Create a new angr project. - Load or collect ROP gadgets. - Restore states from a previous ch
rex/crash.py:1012
↓ 1 callersMethod_input_type_to_channel_type
(input_type)
rex/crash.py:584
↓ 1 callersMethod_investigate_crash
(self, r, testcase, channel, pre_fire_hook, delay=0)
rex/crash_tracer/dumb_tracer.py:62
↓ 1 callersMethod_invoke_system
generate a rop chain to invoke system(cmd_addr)
rex/exploit/techniques/ret2libc.py:121
↓ 1 callersMethod_is_bad_byte
(self, crash, bad_byte)
rex/crash_tracer/dumb_tracer.py:430
↓ 1 callersFunction_is_listening_on
Return True if any process is listening on TCP `port`.
tests/test_rex.py:244
↓ 1 callersMethod_prepare_chall_resp
(self, state)
rex/exploit/cgc/cgc_exploit.py:547
↓ 1 callersMethod_read_in_global_data_with_gets
use the linked function gets to read in more global data :return: tuple of the address and constraints to add
rex/exploit/technique.py:277
↓ 1 callersMethod_read_in_global_data_with_read
use the linked function read to read in more global data :return: tuple of the address and constraints to add
rex/exploit/technique.py:240
↓ 1 callersMethod_reg_bits_controlled
(self, reg)
rex/pov_fuzzing/fuzzing_type_1.py:422
↓ 1 callersMethod_replace_indices_len
(s, to_rep, len_to_remove, indices)
rex/pov_fuzzing/fuzzing_type_2.py:177
↓ 1 callersMethod_replace_indices_len
(s, to_rep, len_to_remove, indices)
rex/pov_fuzzing/fuzzing_type_1.py:132
↓ 1 callersMethod_same_behavior
(self, trace_result, project, taint_str, byte_under_test)
rex/crash_tracer/dumb_tracer.py:409
↓ 1 callersMethod_str_find_all
(a_str, sub)
rex/pov_fuzzing/fuzzing_type_2.py:423
↓ 1 callersMethod_str_find_all
(a_str, sub)
rex/pov_fuzzing/fuzzing_type_1.py:338
↓ 1 callersMethod_triage_crash
Crash triaging. Fill in crash_types. :return: None
rex/crash.py:1179
↓ 1 callersFunction_wait_until_listening
Block until a process is listening on TCP `port`. We check the socket state rather than connecting, because the target accept()s exactly one
tests/test_rex.py:252
↓ 1 callersMethod_windup_to_syscall
windup state to a state just about to make a syscall
rex/exploit/technique.py:355
↓ 1 callersMethod_work
Perform tracing, memory write filtering, and crash triaging. :return: None
rex/crash.py:1026
↓ 1 callersMethod_write_cmd_str
(self, cmd_str)
rex/exploit/techniques/ret2libc.py:96
↓ 1 callersMethod_write_executable_global_data
(self, data, **kwargs)
rex/exploit/technique.py:179
↓ 1 callersMethod_write_with_ROP
write @data into globally addressable memory using ROP :return: tuple of the address of the string and the constraint which adds the
rex/exploit/technique.py:184
↓ 1 callersMethodalign_up
(self, addr, alignment=None)
rex/exploit/techniques/call_shellcode.py:39
↓ 1 callersMethodanalyze_complex
(self, byte_indices, reg, bytes_to_regs)
rex/pov_fuzzing/fuzzing_type_2.py:453
↓ 1 callersMethodanalyze_complex
(self, byte_indices, reg, bytes_to_regs)
rex/pov_fuzzing/fuzzing_type_1.py:368
↓ 1 callersMethodassign_write
(self, addr, data, state)
rex/exploit/techniques/explore_for_exploit.py:76
↓ 1 callersMethodbootstrap_state
modify the initial angr state for later symbolic tracing
rex/crash_tracer/__init__.py:88
↓ 1 callersMethodcheck
Performs checks to determine whether this technique can be applied on the target binary with the given crash. Returning False will pr
rex/exploit/technique.py:41
↓ 1 callersMethodcheck_bitmask
(state, ast, bitmask)
rex/exploit/technique.py:102
↓ 1 callersMethodcheck_for_multiple
(self, byte_index)
rex/pov_fuzzing/fuzzing_type_2.py:402
↓ 1 callersMethodcheck_for_multiple
(self, byte_index)
rex/pov_fuzzing/fuzzing_type_1.py:317
↓ 1 callersMethodchop_string
(s, n)
rex/exploit/techniques/rop_to_system_complicated.py:50
↓ 1 callersMethodcollapse_bits
(val, mask)
rex/pov_fuzzing/fuzzing_type_1.py:688
↓ 1 callersMethodconcrete_trace
collect a concrete trace
rex/crash.py:408
↓ 1 callersMethodcreate_payload_construction
(self)
rex/pov_fuzzing/fuzzing_type_1.py:589
↓ 1 callersMethodcreate_project
create an angr project through archr
rex/crash.py:487
↓ 1 callersMethodcreate_state
create an initial angr state for later symbolic tracing
rex/crash_tracer/__init__.py:81
↓ 1 callersMethoddump_binary
(self, filename=None)
rex/pov_fuzzing/fuzzing_type_2.py:676
↓ 1 callersMethoddump_binary
(self, filename=None)
rex/pov_fuzzing/fuzzing_type_1.py:669
↓ 1 callersMethoddump_binary
(self, filename=None)
rex/exploit/cgc/cgc_exploit.py:136
↓ 1 callersMethoddump_c
Creates a simple C file to do the type1 exploit :param filename: dumps the code to this path if filename is not None :return:
rex/pov_fuzzing/fuzzing_type_2.py:649
↓ 1 callersMethoddump_c
(self, filename=None)
rex/pov_fuzzing/fuzzing_type_1.py:608
↓ 1 callersMethoddump_c
(self, filename=None)
rex/exploit/cgc/cgc_exploit.py:130
↓ 1 callersMethoddump_python
(self, filename=None)
rex/exploit/cgc/cgc_exploit.py:124
↓ 1 callersMethoddumpable
(self)
rex/pov_fuzzing/fuzzing_type_2.py:639
↓ 1 callersMethodexploitable
(self)
rex/pov_fuzzing/fuzzing_type_2.py:634
↓ 1 callersMethodfilter_uncontrolled_constraints
(state)
rex/exploit/cgc/cgc_exploit.py:615
↓ 1 callersMethodget_leaking_payload
(self)
rex/pov_fuzzing/fuzzing_type_2.py:644
↓ 1 callersMethodget_nopsleds
(arch)
rex/exploit/nopsleds.py:10
↓ 1 callersMethodget_sim_open_fds
(self)
rex/crash.py:217
↓ 1 callersMethodidentify_bad_bytes
dumb tracer does not have information about the constraints on the input so it has to use concrete execution to identify the bad byte
rex/crash_tracer/dumb_tracer.py:501
↓ 1 callersMethodidentify_bad_bytes
identify the bad bytes by inspecting constraints in an unconstrained state the extracted bad bytes are used to help angrop filter gad
rex/crash_tracer/__init__.py:42
↓ 1 callersMethodinitialize
(self)
rex/exploit/exploit_factory.py:46
↓ 1 callersMethodinitialize_libc_rop
(self)
rex/crash.py:95
↓ 1 callersMethodinitialize_project
(self)
rex/crash.py:198
↓ 1 callersMethodinitialize_rop
Use angrop to generate ROP gadgets and such for the target binary. :return: An angr.analyses.ROP instance.
rex/crash.py:56
↓ 1 callersMethodis_writable_and_mapped
(addr, state)
rex/exploit/techniques/explore_for_exploit.py:212
↓ 1 callersMethodlibc_memory_control
determine what symbolic memory we control which is at a constant address in libc if libc_rop is enabled TODO: be able to specify tha
rex/crash.py:861
↓ 1 callersFunctionmain
()
rex/utils/curl2rexaction.py:92
↓ 1 callersMethodmake_bases
(self)
rex/pov_fuzzing/fuzzing_type_2.py:150
↓ 1 callersMethodmake_bases
(self)
rex/pov_fuzzing/fuzzing_type_1.py:104
↓ 1 callersMethodpost_analysis
(self)
rex/pov_fuzzing/fuzzing_type_2.py:547
↓ 1 callersMethodpost_filter
(self)
rex/pov_fuzzing/fuzzing_type_2.py:379
↓ 1 callersMethodread_int
(self, s, base, max_len)
rex/pov_fuzzing/fuzzing_type_2.py:442
↓ 1 callersMethodread_int
(self, s, base, max_len)
rex/pov_fuzzing/fuzzing_type_1.py:357
↓ 1 callersFunctionrecv_once
(r)
rex/utils/curl2rexaction.py:33
↓ 1 callersFunctionrecvall
(r)
rex/utils/curl2rexaction.py:36
↓ 1 callersMethodreduce_claimed_bitmask
The idea here is there could be constraints such as no "\n" or no null bytes So we will try to claim control of a max of 7/8 bits in
rex/exploit/technique.py:80
↓ 1 callersMethodrestore_checkpoint
Restore from a checkpoint file. :param str path: Path to the file which saves intermediate states. :return: No
rex/crash.py:260
↓ 1 callersMethodrun
(self, fd1, fd2)
tests/test_shellcodes.py:44
↓ 1 callersMethodrun
(self)
rex/pov_fuzzing/fuzzing_type_1.py:114
↓ 1 callersFunctionrun_all
()
tests/test_explore.py:26
↓ 1 callersFunctionrun_all
()
tests/slow_test_cromu71.py:36
← previousnext →101–200 of 417, ranked by callers