Skip to content

Commit c3f9d87

Browse files
committed
Add missing doc sources
1 parent 2094ab4 commit c3f9d87

File tree

9 files changed

+213
-52
lines changed

9 files changed

+213
-52
lines changed

docs/source/crypto.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,17 @@ import_pfx
3030
.. autofunction:: import_pfx
3131

3232

33+
3334
Certificate
3435
"""""""""""
3536

37+
.. warning::
38+
39+
The classes described here are under heavy test and try.
40+
41+
The classes, methods and properties described here will problably change as I haven't yet had the time
42+
to try it out in real cases and figure out the final look of the API I want to do.
43+
3644
.. note::
3745

3846
See sample :ref:`sample_crypto_certificate`
@@ -54,10 +62,6 @@ CryptObject
5462

5563
.. autoclass:: CryptObject
5664

57-
.. warning::
58-
59-
The methods and property of this class will problably change as I haven't yet had the time
60-
to try it out in real cases.
6165

6266

6367
CryptContext

docs/source/generated.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Here is every generated definition by type:
1818

1919
.. toctree::
2020
:maxdepth: 1
21-
:numbered:
2221

2322
windef_generated.rst
2423
ntstatus_generated.rst

docs/source/ntstatus_generated.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.. currentmodule:: windows.generated_def
2+
23
Ntstatus
34
--------
45
.. autodata:: STATUS_SUCCESS

docs/source/rpc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Epmapper
3232
:exclude-members: count, index
3333

3434
:func:`find_alpc_endpoints`
35-
'''''''''''''''''''''''''
35+
'''''''''''''''''''''''''''
3636

3737
.. autofunction:: find_alpc_endpoints
3838

@@ -210,7 +210,7 @@ Each NDR class has a function :func:`pack`.
210210

211211

212212
NDR STREAM
213-
^^^^^^^^^^
213+
''''''''''
214214

215215
.. autoclass:: NdrStream
216216

docs/source/sample.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Output::
186186

187187
Output::
188188

189-
(cmd λ) python.exe network.py
189+
(cmd λ) python.exe network\network.py
190190
Working on ipv4
191191
== Listening ==
192192
Some listening connections: [<TCP IPV4 Listening socket on 0.0.0.0:80>, <TCP IPV4 Listening socket on 0.0.0.0:135>, <TCP IPV4 Listening socket on 0.0.0.0:443>]
@@ -413,7 +413,7 @@ Ouput::
413413

414414
Ouput::
415415

416-
(cmd λ) python.exe debug\debug\attach.py
416+
(cmd λ) python.exe debug\attach.py
417417
Finding process with pid <11392>
418418
Target is <WinProcess "notepad.exe" pid 11392 at 0x471a750>
419419
Debugger attached: <windows.debug.debugger.Debugger object at 0x04707EF0>
@@ -441,7 +441,7 @@ Native code tester
441441

442442
Ouput::
443443

444-
(cmd λ) python.exe .\samples\test_code.py "mov eax, 0x42424242" "eax=0x11223344"
444+
(cmd λ) python.exe test_code.py "mov eax, 0x42424242" "eax=0x11223344"
445445
Testing x86 code
446446
Startup context is:
447447
Eip -> 0x3f0000L
@@ -473,7 +473,7 @@ Ouput::
473473
Eax: 0x11223344 -> 0x42424242 (+0x31200efe)
474474

475475

476-
(cmd λ) python64 .\samples\test_code.py --x64 "mov r15, 0x11223344; push r14; call r15" "rcx=1; r14=0x4242424243434343"
476+
(cmd λ) python64 test_code.py --x64 "mov r15, 0x11223344; push r14; call r15" "rcx=1; r14=0x4242424243434343"
477477
Testing x64 code
478478
Startup context is:
479479
Rip -> 0x205a1d60000L
@@ -720,7 +720,7 @@ Ouput::
720720
Found it !
721721

722722
== PE Analysis ==
723-
Target sha1 = <059cb1ba1a41433a18dd8f87422c2ac3bf35b7b8>
723+
Target sha1 = <eb90bc0e33f3e62b0eac4afa8bfcf42a5d4e7bbb>
724724
Analysing <CryptObject "C:\windows\system32\ntdll.dll" content_type=CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED(0xaL)>
725725
File has 1 signer(s):
726726
Signer 0:
@@ -866,7 +866,7 @@ Manual UAC
866866

867867
Output::
868868

869-
(cmd λ) python samples\rpc\uac.py
869+
(cmd λ) python rpc\uac.py
870870
Namespace(cmdline='', creationflags=CREATE_UNICODE_ENVIRONMENT(0x400L), target='C:\\Python27\\python.exe', uacflags=17)
871871
# UAC pop - asking to execute python.exe | Clicking Yes
872872
Return value = 0x6
@@ -890,7 +890,7 @@ Manual ``LsarEnumeratePrivileges``
890890

891891
Output::
892892

893-
(cmd λ) python samples\rpc\lsass.py
893+
(cmd λ) python rpc\lsass.py
894894
(2, u'SeCreateTokenPrivilege')
895895
(3, u'SeAssignPrimaryTokenPrivilege')
896896
(4, u'SeLockMemoryPrivilege')

docs/source/windef_generated.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.. currentmodule:: windows.generated_def
2+
23
Windef
34
------
45
.. autodata:: INVALID_HANDLE_VALUE

docs/source/windows.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ The defaults objects accessible in ``windows`` are:
1414
The submodules that you might use by themself are:
1515
* :mod:`windows.native_exec`
1616
* :mod:`windows.winproxy`
17+
* :mod:`windows.wintrust`
18+
* :mod:`windows.crypto`
1719
* :mod:`windows.utils`
1820
* :mod:`windows.debug`
21+
* :mod:`windows.alpc`
22+
* :mod:`windows.rpc`
1923
* :mod:`windows.com`
2024

2125
.. _object_system:

0 commit comments

Comments
 (0)