Custom functions in SparkSQL-UDF&UDAF

1. UDF (User-Defined-Function) user defined function 1. Register UDF udf object = spark.udf.register(parameter 1, parameter 2, parameter 3) Parameter 1: UDF name, can be used in SQL style Parameter 2: The method name registered as UDF Parameter 3: Declare the return value type of UDF udf object: return value object, which is a UDF object […]

PostgreSQL-UDF user-defined function-extension plug-in

Table of Contents PostgreSQL-UDF user-defined function-extension plug-in zero, precondition 1. Create .c and .sql files Create a .c file Create .sql file 2. Create .control and Makefile files Create a .control file Create Makefile 3. Compile & amp; link 4. Create an extension in psql (or other PG backend) PostgreSQL-UDF user-defined function-extension plug-in zero, precondition […]

Amazon CloudFront Deployment Guide (5) – Using Amazon Edge Technology to Optimize In-Game Resource Update Release…

Introduction In-game resources include materials such as player equipment/ammunition/materials. The release and update of in-game resources is a routine business process for game operators, and the frequency of use will be very high. Therefore, game operators hope that the process can be simplified and improved. controllable. In response to this requirement, we designed 3 architectures […]

Vector and Dimension Macros in Fluent UDF

Make a note of it so you can find it later. ANSYS Fluent provides utilities that you can use in UDFs to access or manipulate vector quantities and to handle 2D and 3D. These utilities are implemented as macros in the code. Vector utility macros have a naming convention. V represents a vector, S represents […]

Amazon CloudFront Deployment Guide – Quickly Build CDN Content Distribution

This guide is suitable for technical partners who are initially exposed to Amazon Cloud Technology’s CloudFront service and expect to start building content distribution acceleration. This article walks you through five steps on how to create a minimal architecture example for content acceleration with CloudFront. Step 1: Create an S3 bucket to store content Step […]

[Learning to infiltrate the target machine – Raven2 (mysql-udf privilege escalation)]

Raven2 target drone collect message Host Information Collection host ip host open port Host open port service detailed version nmap vulnerability detection web information collection port 80 Get an initial foothold on the system sudo -l View scheduled tasks View the permissions and account information of the password file Find the s-bit files that the […]

Vulnhub’s Raven2 shooting range (MySQL’s UDF privilege escalation)

Directory 0. Knowledge points 0.1 CVE-2016-10033 (PHPMailer remote command execution) 0.2 UDF privilege escalation in MySQL 1. Environment preparation 2. Information Collection 2.1 Host Discovery 2.2 Open port scanning 2.3 Port service, system version scanning 2.4 Default vulnerability script detection 2.5 Web site information collection 2.5.1 Visit the site to view the frame of the […]

hive creates udf function process

1. Write udf function import pom file org.apache.commons commons-jexl3 3.1 org.apache.hive hive-exec 3.1.2 provided First determine what function you want to write. For example, I want to write a calculation string expression. Start inheriting the udf interface of hive. Many friends like to see how other people write it at this time. For example, when […]