recentpopularlog in

whip_lash : python   157

« earlier  
Martin Heinz - Personal Website & Blog
There are plenty of articles written about lots of cool features in Python such as variable unpacking, partial functions, enumerating iterables, but there is much more to talk about when it comes to Python, so here I will try to show some of the features I know and use, that I haven't yet seen mentioned elsewhere. So here we go.
tips  programming  python 
18 days ago by whip_lash
Python zipapp
What's a zipapp?

This concept is very much like .jar or .war archives in Java.
october 2019 by whip_lash
WeirdAAL (AWS Attack Library) Basics from the Authors - The Ethical Hacker Network
WeirdAAL has two goals related to the AWS keys you find, procure, or need to test. First, answer the “what can I do with this AWS key pair” from a blackbox perspective. Secondly, be a repository of useful functions, both offensive and defensive, to interact with AWS Services. This article is meant to be a basic tutorial to get you started.
aws  pentest  weirdaal  tool  python 
september 2019 by whip_lash
GitHub - chriskiehl/Gooey: Turn (almost) any Python command line program into a full GUI application with one line
ooey converts your Console Applications into end-user-friendly GUI applications. It lets you focus on building robust, configurable programs in a familiar way, all without having to worry about how it will be presented to and interacted with by your average user.
gui  programming  python 
september 2019 by whip_lash
How to set up a perfect Python project - Sourcery
When starting a new Python project, it is tempting to just dive in and start coding. Spending a tiny amount of time to setup a project with the best tools will save immense time and lead to a happier coding experience.
python  bestpractices 
august 2019 by whip_lash
Functional Programming in Python – Real Python
You’ll cover:

What functional programming is
How you can use immutable data structures to represent your data
How to use filter(), map(), and reduce()
How to do parallel processing with multiprocessing and concurrent.futures
python  development  programming 
july 2019 by whip_lash
CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers: aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All
aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
programming  python  statistics  datascience 
july 2019 by whip_lash
The German Tank Problem -
Probabilistic programming is a very powerful tool. It’s still a relatively young field, but is starting to become more popular especially due to recent algorithmic advances and an abundance of computational resources.
datascience  history  python  statistics 
july 2019 by whip_lash
How to Manually Exploit EternalBlue on Windows Server Using MS17-010 Python Exploit « Null Byte :: WonderHowTo
In this guide, we'll tackle the manual route of exploiting EternalBlue on Windows Server. I'll be using an unpatched copy of Windows Server 2016 Datacenter as the target, and evaluation copies can be downloaded from Microsoft if you want to follow along as we perform each step below.
windows  pentest  python  exploit  ETERNALBLUE 
may 2019 by whip_lash
GitHub - SeleniumHQ/selenium-ide: Open Source record and playback test automation for the web.
Favorite tweet:

So here's a fun tip if you find yourself working with #Selenium a lot, which i happen to do. If you run #Chrome or #Firefox as your standard browser you can install the Selenium IDE as a plugin. The #github page can be found at the link below. [THREAD]

— VectorSEC (@Real__Vector) March 26, 2019
selenium  chrome  ide  python 
march 2019 by whip_lash
Using Pyzmq For Inter-Process Communication: Part 1 | Python For The Lab
We are going to develop a program to acquire images from a webcam continuously and share the data between different terminals. We are going to explore different patterns provided by the excellent pyZMQ library, focusing on practical examples and discussing the benefits and limitations of them. The examples are going to be the base of the next part of this tutorial, in which we are going to focus on how to implement the same patterns using the multi-threading and multi-processing libr...
python  0mq  pyzmq  ZeroMQ  programming 
march 2019 by whip_lash
GitHub - jarun/googler: Google from the terminal
googler is a power tool to Google (Web & News) and Google Site Search from the command-line.
cli  google  python  search 
february 2019 by whip_lash
Practical Deep Learning for Coders 2019 ·
Launching today, the 2019 edition of Practical Deep Learning for Coders, the third iteration of the course, is 100% new material, including applications that have never been covered by an introductory deep learning course before (with some techniques that haven’t even been published in academic papers yet). There are seven lessons, each around 2 hours long, and you should plan to spend about 10 hours on assignments for each lesson.
ai  machinelearning  programming  deeplearning  ml  tutorial  datascience  education  python 
january 2019 by whip_lash
GitHub - TryCatchHCF/PacketWhisper: PacketWhisper: Stealthily exfiltrate data and defeat attribution using DNS queries and text-based steganography. Avoid the problems associated with typical DNS exfiltration methods. Transfer data between systems without
PacketWhisper: Stealthily exfiltrate data and defeat attribution using DNS queries and text-based steganography. Avoid the problems associated with typical DNS exfiltration methods. Transfer data between systems without the communicating devices directly connecting to each other or to a common endpoint. No need to control a DNS Name Server.
dns  python  steganography 
january 2019 by whip_lash
Composing Programs
Welcome to Composing Programs, a free online introduction to programming and computer science.

In the tradition of SICP, this text focuses on methods for abstraction, programming paradigms, and techniques for managing the complexity of large programs. These concepts are illustrated primarily using the Python 3 programming language.
learning  programming  python  sicp 
january 2019 by whip_lash
While I am learning Python, what else should I be learning to supplement my resume? : learnpython
Yes, pick up Git as fast as you can, you want the basics of working in a repo to be muscle memory; learn as much of the standard library as you can, I'd tend to say re, itertools, sqlite3, and subprocess are all going to give solid return on time invested. As are support modules like logging and argparse, both of which you're going to be seeing a lot of. Try to develop solid chops writing and running unit tests, it's very helpful to know unittest for that.

Outside of Python try and be at least conversationally familiar with concepts like Agile Development, Continuous Integration/Deployment and Test Driven Development, as in you've read the Wikipedia entries on those terms and know some of the bywords. You'll find that's going to help with getting through the filter screen of first pass HR people.
python  career  jobs  development  software 
january 2019 by whip_lash
Vim as a Python IDE
This project aims to use Vim as a powerful and complete Python IDE. In order to do that, we curated a list of awesome plugins available in the community and provided an automatic installation procedure for this set.
vim  python  ide 
january 2019 by whip_lash
GitHub - 0xddaa/iddaa: idapython scripts
idapython scripts, including feature as below:

Integrete IDA pro and gdb through idapython.
Identify the suspicious functions in binary by static analysis.
Improve to analyze CGC format.
ida  python  reverse-engineering  reverseengineering 
january 2019 by whip_lash
Advent of Code Python Solutions, Explained | Hacker News
OP here. I really enjoyed reading through Peter Norvig's AoC solutions a while back:
I'm no Norvig, but I thought I'd try my hand at walking the reader through my own solutions this year. This is what I've come up with so far!
december 2018 by whip_lash
GitHub - satwikkansal/wtfpython: A collection of surprising Python snippets and lesser-known features.
Python, being a beautifully designed high-level and interpreter-based programming language, provides us with many features for the programmer's comfort. But sometimes, the outcomes of a Python snippet may not seem obvious to a regular user at first sight.

Here is a fun project to collect such tricky & counter-intuitive examples and lesser-known features in Python, attempting to discuss what exactly is happening under the hood!
learning  programming  python 
december 2018 by whip_lash
Python interview questions. Part III. Senior
We all know that senior is not just a technical role that bound with years of experience and knowledge about his tools, they also have mentoring skills, some management skills in order to measure tasks and their time, and they tend to have some architecture skills etc. My questions here is only for technical side of Python senior developers.
interview  python  career  jobs  development  programming 
december 2018 by whip_lash
GitHub - dibgerge/ml-coursera-python-assignments: Python assignments for the machine learning class by andrew ng on coursera with complete submission for grading capability and re-written instructions.
This repositry contains the python versions of the programming assignments for the Machine Learning online class taught by Professor Andrew Ng. This is perhaps the most popular introductory online machine learning class. In addition to being popular, it is also one of the best Machine learning classes any interested student can take to get started with machine learning. An unfortunate aspect of this class is that the programming assignments are in MATLAB or OCTAVE, probably because this class was made before python become the go-to language in machine learning.

The Python machine learning ecosystem has grown exponentially in the past few years, and still gaining momentum. I suspect that many students who want to get started with their machine learning journey would like to start it with Python also. It is for those reasons I have decided to re-write all the programming assignments in Python, so students can get acquainted with its ecosystem from the start of their learning journey.
ai  education  machinelearning  programming  python  tutorial 
september 2018 by whip_lash
AWS Lambda + Serverless Framework + Python — A Step By Step Tutorial — Part 1 “Hello World”
I am creating a series of blog posts to help you develop, deploy and run (mostly) Python applications on AWS Lambda using Serverless Framwork.
aws  python  lambda  serverless 
september 2018 by whip_lash
Project Python
Project Python is a free interactive book that will teach you to code in Python, using graphics, animations, and games. You’ll also learn ways to solve classical computer science problems, principles of software design, and how to analyze algorithm performance. No prior experience required; you’ll write code to draw a smiley face by the end of the first chapter
python  education  tutorial 
september 2018 by whip_lash
An A-Z of useful Python tricks –
I use Python daily as an integral part of my job as a data scientist. Along the way, I’ve picked up a few useful tricks and tips.

Here, I’ve made an attempt at sharing some of them in an A-Z format.
python  programming  tips  tutorial 
september 2018 by whip_lash
A Complete Machine Learning Walk-Through in Python: Part One
This series of articles will walk through a complete machine learning solution with a real-world dataset to let you see how all the pieces come together.
datascience  data  tutorial  python 
september 2018 by whip_lash
GitHub - trekhleb/learn-python: 📚 Playground and cheatsheet for learning Python
It is a playground because you may change or add the code to see how it works and test it out using assertions. It also allows you to lint the code you've wrote and check if it fits to Python code style guide. Altogether it might make your learning process to be more interactive and it might help you to keep code quality pretty high from very beginning.

It is a cheatsheet because you may get back to these code examples once you want to recap the syntax of standard Python statements and constructions. Also because the code is full of assertions you'll be able to see expected functions/statements output right away without launching them.
learning  programming  python 
september 2018 by whip_lash
Itertools in Python 3, By Example – Real Python
This article takes a different approach. Rather than introducing itertools to you one function at a time, you will construct practical examples designed to encourage you to “think iteratively.” In general, the examples will start simple and gradually increase in complexity.
python  programming  itertools 
august 2018 by whip_lash
VIM and Python – A Match Made in Heaven – Real Python
On the down side though, VIM can be a pain to configure, but fear not. This article will show you how to get a powerful VIM environment set up in a way that is geared towards wrangling Python day in and day out.
python  vim  editor  programming 
august 2018 by whip_lash
PyCQA/bandit: Bandit is a tool designed to find common security issues in Python code.
Bandit is a tool designed to find common security issues in Python code. To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Bandit has finished scanning all the files it generates a report.
git  recon  pentest  python  analysis 
july 2018 by whip_lash
SANS Penetration Testing | SMB Relay Demystified and NTLMv2 Pwnage with Python | SANS Institute
But, don't worry. We've got you covered. Until then, it is PYTHON TO THE RESCUE! Two weeks ago, I showed you in my blog post about using a Python version of psexec at It is a Python implementation of psexec that is distributed with the IMPACKET modules. The team writing the IMPACKET module for Python is doing some really awesome work. First of all, the modules they have written are awesome. Beyond that, they have created several example programs that demonstrate the power of their Python modules. Best of all, the SMBRELAYX.PY script that comes with IMPACKET supports NTLMv2! Sweetness, thy name is IMPACKET!
impacket  python  security  smb  relay  ntlm  hash  script  pentest 
june 2018 by whip_lash
calebmadrigal/trackerjacker: Like nmap for mapping wifi networks you're not connected to, plus device tracking
Like nmap for mapping wifi networks you're not connected to. Maps and tracks wifi networks and devices through raw 802.11 monitoring.
network  python  security  wifi  wireless  pentest  github 
june 2018 by whip_lash
for item in haystack:
if item == needle:
# The `else` here is a
# "completion clause" that runs
# only if the loop ran to completion
# without hitting a `break` statement.
june 2018 by whip_lash
rocky/python-uncompyle6: A Python cross-version decompiler
uncompyle6 translates Python bytecode back into equivalent Python source code. It accepts bytecodes from Python version 1.5, and 2.1 to 3.7 or so, including PyPy bytecode and Dropbox's Python 2.5 bytecode.
decompiler  python  reverse-engineering  reverseengineering 
may 2018 by whip_lash
countercept/python-exe-unpacker: A helper script for unpacking and decompiling EXEs compiled from python code.
A script that helps researcher to unpack and decompile executable written in python. However, right now this only supports executable created with py2exe and pyinstaller.
python  reverse-engineering  reverseengineering 
may 2018 by whip_lash
malja/zroya: Python wrapper of win32 for creating Windows notifications.
Zroya is python wrapper around win32 API for creating Windows notification.
python  windows 
march 2018 by whip_lash
Numba Versus C++ – Murillo Group
In an nutshell, Numba employs the LLVM infrastructure to compile Python. Numba also has GPU capabilities, but we will not explore those in this post. Once you have installed Numba, you import it as you would any other library (e.g., NumPy). The difference is that you use decorators to give instructions to Numba; often, this is just placing “@jit“ before the function you want compiled.
march 2018 by whip_lash
guipsamora/pandas_exercises: Practice your pandas skills!
Fed up with a ton of tutorials but no easy way to find exercises I decided to create a repo just with exercises to practice pandas.
python  pandas 
february 2018 by whip_lash
ajcr/100-pandas-puzzles: 100 data puzzles for pandas, ranging from short and simple to super tricky (60% complete)
Inspired by 100 Numpy exerises, here are 100* short puzzles for testing your knowledge of pandas' power.
python  pandas 
february 2018 by whip_lash
mitmproxy - an interactive HTTPS proxy
mitmproxy is your swiss-army knife for debugging, testing, privacy measurements, and penetration testing. It can be used to intercept, inspect, modify and replay web traffic such as HTTP/1, HTTP/2, WebSockets, or any other SSL/TLS-protected protocols. You can prettify and decode a variety of message types ranging from HTML to Protobuf, intercept specific messages on-the-fly, modify them before they reach their destination, and replay them to a client or server later on.
http  mitm  proxy  python 
february 2018 by whip_lash
Russell Cohen | Demystifying Two Factor Auth
I always wondered how Google Authenticator style 2-factor codes worked. The process of going from QR code to rotating 6-digit pin seemed a bit magical. A few days ago, my curiosity found itself coupled with some free time. Here’s what I found:
authentication  python  security 
february 2018 by whip_lash
Crawling with Python, Selenium and Docker | Daniel Rodriguez
TD;DR: Using selenium inside a docker container to crawl webistes that need javascript or user interaction + a cluster of those using docker swarm.
docker  python  selenium 
february 2018 by whip_lash
rougier/numpy-100: 100 numpy exercises (100% complete)
This is a collection of numpy exercises from numpy mailing list, stack overflow, and numpy documentation.
math  numpy  python  github 
february 2018 by whip_lash
Srinivas11789/PcapXray: PcapXray - A Network Forensics Tool - To visualize a Packet Capture offline as a Network Diagram including device identification, highlight important communication and file extraction
Given a Pcap File, plot a network diagram displaying hosts in the network, network traffic, highlight important traffic and Tor traffic as well as potential malicious traffic including data involved in the communication.
networking  pcap  github  python 
february 2018 by whip_lash
Type-Checking Python Programs With Type Hints and mypy - YouTube
Avoid the bugs that Python type hinting will catch in the first place and see how to write clean and Pythonic code
february 2018 by whip_lash
Profiling and optimizing your Python code | Toucan Toco
Let’s have a look at the awesome Profiling module.

It gives us a detailed tree-like view of the profile at the end of the program’s run:
python  performance 
february 2018 by whip_lash
Cracking Codes with Python
Cracking Codes with Python teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers. The programs include the Caesar cipher, transposition cipher, simple substitution cipher, multiplicative & affine ciphers, Vigenere cipher, and hacking programs for each of these ciphers.
cryptography  python  learning 
january 2018 by whip_lash
x64dbg/mona: Fork of with x64dbg support
Fork of Corelan’s for x64dbg. mona is a Windows exploit development swiss army knife. It supports ROP techniques, SEH, cyclic patterns, etc.
x64dbg  mona  python  reverseengineering 
january 2018 by whip_lash
Untold Stories About Python Unit Tests – Hacker Noon
Most python projects are based on setuptools. If your python project is also using setuptools, you should integrate pytest with the
january 2018 by whip_lash
How I took a break from Job Searching and let Python do it for me.
If only I could do this entire chore of going through each and every job title, job description and eliminating unsuitable ones and consolidating the right ones in one place. Well, yes I can, with Python.
python  jobs  career 
january 2018 by whip_lash
GitHub - dzonerzy/winescalation: Python based module to find common vulnerabilities which lead to Windows privilege escalation
This is a Python based module for fast checking of common vulnerabilities affecting windows which lead to privilege escalation
python  windows  privilegeescalation  privesc  pentest  security 
january 2018 by whip_lash
« earlier      
per page:    204080120160

Copy this bookmark:

to read