This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ip.addr == x.x.x.x | |
| ip.dst == x.x.x.x | |
| ip.src == x.x.x.x | |
| tcp.port == x | |
| tcp.dstport == x | |
| tcp.srcport == x | |
| http or tcp.port == x | |
| ip.addr == x.x.x.x && ip.addr == x.x.x.x | |
| http.request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <validation validateIntegratedModeConfiguration="false"/> | |
| <modules runAllManagedModulesForAllRequests="true"/> | |
| <handlers> | |
| <add name="ImageHandler" verb="*" path="*.png" type="WebApplication1.Handlers.ImageHandler, WebApplication1"/> | |
| </handlers> | |
| </system.webServer> | |
| <system.web> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import smtplib | |
| gmail_user = 'email@example.com' | |
| gmail_password = 'password' | |
| message='Subject:{}\n\n{}'.format('my subject', 'my text') | |
| server = smtplib.SMTP_SSL('smtp.gmail.com', 465) | |
| server.ehlo() | |
| server.login(gmail_user, gmail_password) | |
| server.sendmail(gmail_user, ['receiver1@example2.com'], message) | |
| server.close() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package helper; | |
| import android.graphics.Paint; | |
| import android.graphics.Typeface; | |
| import android.text.TextPaint; | |
| import android.text.style.TypefaceSpan; | |
| public class CustomTypeface extends TypefaceSpan { | |
| private final Typeface newType; | |
| private final float size; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys, traceback | |
| def main(): | |
| number = 10 | |
| print(len(number)) | |
| if __name__=="__main__": | |
| try: |
NewerOlder