FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python_editor/6.8/plugins/Python_editor.py at master · Python-Repository-Hub/Python_editor · GitHub
Python-Repository-Hub
/
Python_editor
Public
forked from
techbliss/Python_editor
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Python_editor
/
6.8
/
plugins
/
Python_editor.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
56 lines (36 loc) · 1.25 KB
Breadcrumbs
Python_editor
/
6.8
/
plugins
/
Python_editor.py
Copy path
File metadata and controls
56 lines (36 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Created by: Storm Shadow http://www.techbliss.org
# WARNING! All changes made in this file will be lost!
import
re
import
idaapi
import
idc
from
idc
import
*
from
idaapi
import
*
import
sys
sys
.
path
.
insert
(
0
,
idaapi
.
idadir
(
"plugins
\\
Code editor
\\
icons"
))
import
ico
from
ico
import
*
class
ripeye
(
idaapi
.
plugin_t
):
flags
=
idaapi
.
PLUGIN_FIX
comment
=
"This is a comment"
help
=
"Python Editor"
wanted_name
=
"Python Editor"
wanted_hotkey
=
"ALT-E"
def
init
(
self
):
idaapi
.
msg
(
"Python Editor Is Found Use Alt+E to load to menu
\n
"
)
return
idaapi
.
PLUGIN_OK
def
run
(
self
,
arg
):
idaapi
.
msg
(
"run() called with %d!
\n
"
%
arg
)
def
term
(
self
):
idaapi
.
msg
(
""
)
def
AddMenuElements
(
self
):
idaapi
.
add_menu_item
(
"File/"
,
"Code editor"
,
"Alt-E"
,
0
,
self
.
popeye
, ())
idaapi
.
set_menu_item_icon
(
"File/Code editor"
,
idaapi
.
load_custom_icon
(
":/ico/python.png"
))
def
run
(
self
,
arg
=
0
):
idaapi
.
msg
(
"Python Editor Loaded to menu use Alt+E once more"
)
self
.
AddMenuElements
()
def
popeye
(
self
):
g
=
globals
()
idahome
=
idaapi
.
idadir
(
"plugins
\\
Code editor"
)
IDAPython_ExecScript
(
idahome
+
"
\\
pyeditor.py"
,
g
)
def
PLUGIN_ENTRY
():
return
ripeye
()
Back
|
FazBrowse Home
|
New Git URL