Martin Gallo
cd4fe47cfc
Arrange tagline, copyright and license notes across all source files
...
This was a pending change to:
- Use the same tagline, copyright and license notice across files.
- Remove authors' contacts that are no longer valid (due to affiliation changes).
- Update repository location.
- Update license file with missing licenses (althought those were already in source files).
This doesn't include any change on the source code, nor any change on current copyright or licenses. Just formatting and phrasing to make our and distro's maintainers life easier.
2021-07-20 10:04:27 -03:00
Martin Gallo
adb230256d
Refactored the target parsing functions ( #1053 )
...
In reviewing #1051 (and related #347 ) we found out that there's some ugly duplicated code that's better suited for an utils function.
The expected target format is:
`<DOMAIN></USERNAME><:PASSWORD>@HOSTNAME`
This PR:
- Moved target parsing routine to an utils module.
- Added unit tests for the new function.
- Using the new function across example scripts that accept a target.
2021-04-22 09:11:33 -03:00
asolino
8d4c91481b
Print Library's installation path by default when -debug is specified
2020-02-05 19:52:39 -03:00
asolino
553881b9da
Merge branch 'master' into python36
2018-12-05 12:16:54 -03:00
asolino
c328de8252
Changing Copyright notice
2018-12-05 12:14:55 -03:00
asolino
ec77ea3d06
Code cleanup homework
...
- Optimizing imports
- Removing unused variables
- Still a lot to do.
- Test cases passing OK
2018-12-04 14:47:16 -03:00
asolino
2751fc39a8
RPC SCM port for Python3
...
- test_scmr.py passing (PY2 / PY3)
2018-10-03 10:32:10 -03:00
asolino
9d8638cdf1
Print traceback info if running in DEBUG mode
2018-05-04 18:25:44 -03:00
luz.paz
0e96b60b92
Misc. typos
...
Found via `codespell -q 3 -I ../impacket-word-whitelist.txt` through downstream `curl`
2018-03-16 09:42:21 -04:00
Martin Gallo
4152e128b8
Replaced shebang with a virtualenv friendly one
...
Replaced all instances of `#!/usr/bin/python` with `#!/usr/bin/env python` so impacket's examples and scripts can be run inside a virtualenv without having to call python.
2017-01-11 12:43:54 -03:00
asolino
c049506e43
Minor cosmetic changes
2016-09-13 23:54:50 -03:00
dg
5835f61c2d
added port 139 support and related options
2016-07-19 10:13:27 -07:00
asolino
1bdba48374
Adding -dc-ip option to examples
...
* Allows to specifying the IP address for the DC/kdcHost
* Collateral for https://github.com/CoreSecurity/impacket/issues/160
2016-05-31 21:22:54 -03:00
asolino
a8576c0172
Reformatting some code
2016-05-20 21:16:15 -03:00
asolino
8c04d96979
Updating copyright notice. Welcome 2016
2016-01-06 14:08:30 -03:00
asolino
5851bd0cb9
Applying @0xsauby fix for password with '@' to the rest of the example scripts
2015-11-26 14:55:19 -03:00
asolino
e48e2d6c14
Explicitly changing the stdout encoding format if the script's output is redirected
2015-09-18 17:53:51 -03:00
asolino
5ab22cf8c0
Trying give it a second try if there is a decoding issue happening
...
* Especially important when dealing with international characters
2015-09-18 17:13:32 -03:00
asolino
8c094b7998
Adding eXecute permissions to the scripts, fixing https://github.com/CoreSecurity/impacket/issues/71
2015-06-25 09:50:19 -03:00
asolino
4e32a0d498
Removing some pyCharm's erros/warnings
...
More scripts/libs changed. Hopefully doesn't break a thing. Test cases are passing
2015-05-25 20:40:17 -03:00
asolino
8b8f8a6947
Pyton imports fixups
...
1) Removed unnecesary imports, avoid import * whenever possible
2) Copyright updated
3) Minor typos fixed
4) File formats to Unix (LF)
2015-05-23 11:56:59 -03:00
asolino
4c2e64ad3a
Second round of logging change.
...
Now there should be a single logger called 'impacket' the library uses.
By default is has a NullHandler so nothing is printed, but messages are
forwarded to the upstream logger.
If you are a script using the library and want to set the root logger
with a custom formatter, you can import impacket.examples.logger.
After some testing I'll merge it into master
2015-04-25 14:40:42 -03:00
asolino
119e4438dd
Changing logging mechanisms everywhere.
...
Full details coming soon
2015-04-25 14:40:41 -03:00
bethus@gmail.com
ff6a318df3
Adding -debug flag
2015-03-26 21:15:50 +00:00
bethus@gmail.com
d5238f0817
Adding small description when calling the scripts w/no arguments
2015-03-20 19:25:53 +00:00
bethus@gmail.com
f2ff812d3b
Adding support for pass the key
2015-01-30 17:52:36 +00:00
bethus@gmail.com
b3c614ab6b
Adding support for pass the key
2015-01-30 17:28:37 +00:00
bethus@gmail.com
29d18e8cfd
Updated copyright
2015-01-20 22:53:16 +00:00
bethus@gmail.com
bbce63a34a
Clarifying target could be an IP address or targetName
2015-01-14 16:32:03 +00:00
bethus@gmail.com
ad1959a025
Kerberos support (incl. ccache)
2015-01-09 00:07:49 +00:00
bethus@gmail.com
dc66234b2b
Fix for https://code.google.com/p/impacket/issues/detail?id=41
2014-04-08 15:05:39 +00:00
bethus@gmail.com
7f431841b6
Same functionality as before, but ported to the new RPC runtime
2014-01-09 19:12:51 +00:00
bethus@gmail.com
51208f4ed3
Added get_dce_rpc() method to the DCERPCTransport. Now clients don't need to cast a transport to a DCERPC_v5 or V4. That is handled by this method.
...
I'm changing the examples to reflect this move.
2013-10-29 16:04:19 +00:00
bethus@gmail.com
cee60979b3
Added information when CREATE and CHANGE are executed
2013-10-22 19:57:14 +00:00
bethus@gmail.com
85b47bbb6a
Now you can specify username and password when changing service's configuration
2013-10-22 19:36:58 +00:00
bethus@gmail.com
210cfae6ff
Extended support for ChangeServiceConfigW().. I still gotta find out how to set a password for a service account. That is pending.
...
On services.py, I added the change option
2013-10-22 15:17:19 +00:00
bethus
179ea7b157
Protocol specification not needed anymore.. it'll try the list it already has
2013-10-20 20:24:25 +00:00
bethus
f7d705ad1d
Finally.. If no password is specified, it is asked to the user.. so you don't populate your history with passwords ;)
2013-09-23 22:34:53 +00:00
bethus@gmail.com
7c1e7b40ef
Showing help by default. Default transport is 445/SMB
2012-07-11 16:48:20 +00:00
bethus@gmail.com
f45d28d4cd
Added domain and hashes support
2012-07-10 13:58:10 +00:00
bethus@gmail.com
5f5bd8b07f
Service Type can be many types
2012-06-29 19:16:11 +00:00
bethus@gmail.com
a9a0586fe2
1) Added create service option
...
2) Arguments' parsing now handled by argparse
2012-06-24 21:27:07 +00:00
bethus@gmail.com
b12247b914
Avoid opening a dummy servicename when asking for LIST action
2012-05-01 23:11:16 +00:00
bethus@gmail.com
b594ba5556
CONFIG option finished
2012-01-24 18:38:42 +00:00
bethus@gmail.com
e4638262d8
Added CONFIG option. Not yet functional, just used for triggering and debugging QueryServiceConfigW()
2012-01-23 00:47:43 +00:00
bethus@gmail.com
fd639af8ce
Added STATUS option
2012-01-21 22:21:43 +00:00
bethus@gmail.com
d36ea1de33
Merging Bernardo fix for services.py
2012-01-20 18:37:20 +00:00
bethus@gmail.com
ad4cb4896a
Added the ability to LIST services... just specify a random servicename...
2012-01-19 22:26:32 +00:00
bethus@gmail.com
5d91ed204d
Small example to start/stop/delete remote services via svcctl
2011-07-21 20:36:08 +00:00