You can test your Yara rules by using first the Yara command tool from windows or Linux. The last version comes with source code :
For example, this rule shows us how to find files by size:
global rule size
filesize > 11MB and filesize < 22MB
This rule finds files by specify the size conditions MB, KB… Continue Reading Yara python module – part 003 .
Before we start, I have to tell you that it is the continuation of an older tutorial you find here. As you know the YARA is a tool aimed at helping malware researchers to identify and classify malware samples. The YARA tool helps you to create descriptions of malware families… Continue Reading Yara python module – part 002 .
This is a simple example of creating one object from vertices and edges using sin function. First, you need to create the mesh with bpy.data.meshes.new. The number is random, you can use any number for vertices and edges. This number is points for drawing the sin function. The spaces variable… Continue Reading Blender 3D – sin mesh object with python.
To run this script you need to select the render to Cycles Render. Then go to Compositing from Screen layout ( in the top of the screen) and select Use Nodes from Material. This will make a default material with a Diffuse BSDF. The next step is to select Scripting… Continue Reading Blender 3D – script to show python code under console.
This tutorial shows you a simple example of python scripting into Blender 3D software. You need to select the window for scripting and to test with python scripting shell. First, you need to add one object: cube. The default script and most common python script, start with this :
>>> import bpy
>>> import math
>>> from bpy import context
>>> from math import sin, cos, radians
>>> cubeobject = bpy.ops.mesh.primitive_cube_add
>>> cursor = context.scene.cursor_location
… Continue Reading Using bpy – changing colors .
As you know the LibreOffice includes several applications that make it the most powerful Free and Open Source office suite on the market: Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing). This tutorial is about LibreOffice and python scripts used… Continue Reading Python and LibreOffice – part 001.
Is simple to do with python. The script I make is simple without classes. Let’s start with the first steps: You need to create your project and then one credential with a json file. See the next image to see how is your JSON file. My JSON file is renamed… Continue Reading Using python to make authentication into GMail API.
A svgwrite python module is a tool by Manfred Moitzi. To install this python module uses Python 3.4 version. Then you need to install svgwrite with pip3.4:
C:\Python34\Scripts>pip3.4.exe install svgwrite
Downloading svgwrite-1.1.6.tar.gz (109kB)
100% |################################| 110kB 354kB/s
This svgwrite is the only module that needs to be imported and then you can deal with this module. See this simple… Continue Reading The svgwrite python module – part 001.